Fixed mistake in .htaccess for ErrorDocument 404.
authorDylan Lloyd <dylan@psu.edu>
Sat, 22 Jan 2011 05:05:04 +0000 (00:05 -0500)
committerDylan Lloyd <dylan@psu.edu>
Sat, 22 Jan 2011 05:05:04 +0000 (00:05 -0500)
The path of the document must begin with a leading / and consist of the full path to the document relative to the DocumentRoot (which is the virtual host root dylanstestserver.com).

Reference here:
http://serverfault.com/questions/81061/htaccess-redirect-of-404-error-just-prints-filename-doesnt-execute-file

.htaccess

index 6f9af41..fe7ef14 100644 (file)
--- a/.htaccess
+++ b/.htaccess
@@ -1 +1 @@
-ErrorDocument 404 404.php
+ErrorDocument 404 /404.php