diff options
Diffstat (limited to '404.rb')
-rwxr-xr-x | 404.rb | 20 |
1 files changed, 20 insertions, 0 deletions
@@ -0,0 +1,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 |