From: Dylan Lloyd Date: Sat, 22 Jan 2011 05:05:04 +0000 (-0500) Subject: Fixed mistake in .htaccess for ErrorDocument 404. X-Git-Url: https://disinclined.org/git/?a=commitdiff_plain;h=97e4d5ca330490d745f66eedf19b8422df6b304f;p=dylansserver.git Fixed mistake in .htaccess for ErrorDocument 404. 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 --- diff --git a/.htaccess b/.htaccess index 6f9af41..fe7ef14 100644 --- a/.htaccess +++ b/.htaccess @@ -1 +1 @@ -ErrorDocument 404 404.php +ErrorDocument 404 /404.php