Revision: 4843
http://winmerge.svn.sourceforge.net/winmerge/?rev=4843&view=rev
Author: gerundt
Date: 2007-12-22 16:21:56 -0800 (Sat, 22 Dec 2007)
Log Message:
-----------
Web: Add own 404 error page.
Modified Paths:
--------------
trunk/Web/.htaccess
Added Paths:
-----------
trunk/Web/404.php
Modified: trunk/Web/.htaccess
===================================================================
--- trunk/Web/.htaccess 2007-12-20 18:35:41 UTC (rev 4842)
+++ trunk/Web/.htaccess 2007-12-23 00:21:56 UTC (rev 4843)
@@ -1,3 +1,5 @@
+ErrorDocument 404 /404.php
+
<FilesMatch "\.inc$">
Order Deny,Allow
Deny from all
Added: trunk/Web/404.php
===================================================================
--- trunk/Web/404.php (rev 0)
+++ trunk/Web/404.php 2007-12-23 00:21:56 UTC (rev 4843)
@@ -0,0 +1,26 @@
+<?php
+ //Send 404 headers...
+ header('HTTP/1.1 404 Not Found');
+ header('Status: 404 Not Found');
+
+ include('page.inc');
+
+ $page = new Page;
+ $page->printHead('WinMerge: Error 404 (Page Not Found)', TAB_HOME);
+?>
+<h2>Page Not Found...</h2>
+<p>For some reason (mis-typed URL, faulty referral from another site, out-of-date search engine listing or we simply deleted a file) the page you were looking for could not be found.
+<!--This site has recently undergone a major re-working, so that might explain why you got this page instead.--></p>
+
+<h3>Were you looking for...</h3>
+<ul>
+ <li><a href="/2.6/manual/index.html">Manual</a>?</li>
+ <li><a href="/2.6/screenshots.php">Screenshots</a>?</li>
+ <!--<li><a href="/docs">Documentation</a>?</li>-->
+ <li><a href="/downloads">Downloads</a>?</li>
+ <li><a href="/support">Support</a>?</li>
+ <li><a href="/translations">Translations</a>?</li>
+</ul>
+<?php
+ $page->printFoot();
+?>
\ No newline at end of file
This was sent by the SourceForge.net collaborative development platform, the world's largest Open Source development site.
|