[gnumeric-web] 404: Install 404 handler via .htaccess.



commit 854e8bcb5bbb44f75d9752ffacbc7c76c95328a7
Author: Morten Welinder <terra gnome org>
Date:   Thu Feb 6 20:01:17 2014 -0500

    404: Install 404 handler via .htaccess.

 .htaccess |    1 +
 404.html  |    2 +-
 2 files changed, 2 insertions(+), 1 deletions(-)
---
diff --git a/.htaccess b/.htaccess
index b75c18c..0c966e7 100644
--- a/.htaccess
+++ b/.htaccess
@@ -2,3 +2,4 @@ Options +Includes
 AddType text/html .shtml
 AddOutputFilter INCLUDES .shtml
 AddDefaultCharset utf-8
+ErrorDocument 404 /404.html
diff --git a/404.html b/404.html
index 13b894e..9b4efd3 100644
--- a/404.html
+++ b/404.html
@@ -4,7 +4,7 @@
      "http://www.w3.org/TR/xhtml1/DTD/xhtml1-strict.dtd";>
 <html xmlns="http://www.w3.org/1999/xhtml"; xml:lang="en" lang="en">
   <head>
-    <title>GNOME Office / Gnumeric - <!--#echo var="title" --></title>
+    <title>GNOME Office / Gnumeric</title>
     <meta name="GENERATOR" content="Emacs"/>
     <link rel="stylesheet" href="/style/default.css" type="text/css"/>
     <link rel="icon" type="image/png" href="/logo.png" />


[Date Prev][Date Next]   [Thread Prev][Thread Next]   [Thread Index] [Date Index] [Author Index]