summaryrefslogtreecommitdiffstats
path: root/404.rb
blob: 0ef4065013a7defb518c53a716baf222a54403d5 (plain)
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
# encoding: utf-8
def error404_tpe(page_actuelle,dest_page)

	puts <<HTML_TPE
Status: 404 Not Found

<!DOCTYPE html>
<html>
	<head>
		<title>Erreur 404 : Page introuvable - #{$Titre}</title>
		<meta http-equiv="refresh" content="0;URL='#{$RepBase}/#{dest_page}'">
	</head>
	<body>
		<h1>404 Not Found - Redirection</h1>
		<h2>Page introuvable</h2>
	</body>
</html>
HTML_TPE

end