disinclined.org
/
git
/
dylansserver.git
/ commitdiff
commit
grep
author
committer
pickaxe
?
search:
re
summary
|
shortlog
|
log
|
commit
| commitdiff |
tree
raw
|
patch
| inline |
side by side
(parent:
43485c2
)
Fixed mistake in .htaccess for ErrorDocument 404.
author
Dylan Lloyd
<dylan@psu.edu>
Sat, 22 Jan 2011 05:05:04 +0000
(
00:05
-0500)
committer
Dylan 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
patch
|
blob
|
history
diff --git
a/.htaccess
b/.htaccess
index
6f9af41
..
fe7ef14
100644
(file)
--- a/
.htaccess
+++ b/
.htaccess
@@
-1
+1
@@
-ErrorDocument 404 404.php
+ErrorDocument 404
/
404.php