cvs: phpweb / .htaccess README.mirror
| From: | Jim Winstead | Date: | Fri, 12 Jan 2001 20:10:08 +0000 |
| Subject: | cvs: phpweb / .htaccess README.mirror | ||
| Groups: | php.mirrors | ||
| Request: | Send a blank email to php-mirrors+get-3368@lists.php.net to get a copy of this message | ||
jimw Fri Jan 12 12:10:08 2001 EDT
Modified files:
/phpweb README.mirror .htaccess
Log:
add ErrorDocument lines to example and .htaccess
Index: phpweb/README.mirror
diff -u phpweb/README.mirror:1.24 phpweb/README.mirror:1.25
--- phpweb/README.mirror:1.24 Thu Jan 11 13:27:52 2001
+++ phpweb/README.mirror Fri Jan 12 12:10:07 2001
@@ -28,6 +28,9 @@
TransferLog logs/access_log
DirectoryIndex index.php index.php3 manual.php3 index.html index.htm
php3_include_path .:./include:../include
+ ErrorDocument 404 /error/
+ ErrorDocument 401 /error/
+ ErrorDocument 403 /error/
</VirtualHost>
modified to reflect your local paths and country, of course, then your site
Index: phpweb/.htaccess
diff -u phpweb/.htaccess:1.9 phpweb/.htaccess:1.10
--- phpweb/.htaccess:1.9 Fri Oct 20 08:20:21 2000
+++ phpweb/.htaccess Fri Jan 12 12:10:07 2001
@@ -6,3 +6,6 @@
</IfModule>
DirectoryIndex index.php index.php3
AddType application/x-pilot .prc .pdb
+ErrorDocument 404 /error/
+ErrorDocument 401 /error/
+ErrorDocument 403 /error/