1
0
mirror of https://github.com/php/web-php.git synced 2026-03-23 23:02:13 +01:00

add ErrorDocument lines to example and .htaccess

This commit is contained in:
jim winstead
2001-01-12 20:10:07 +00:00
parent 65888f828c
commit df44152151
2 changed files with 6 additions and 0 deletions

View File

@@ -6,3 +6,6 @@ php_value include_path .:./include:../include:../../include
</IfModule>
DirectoryIndex index.php index.php3
AddType application/x-pilot .prc .pdb
ErrorDocument 404 /error/
ErrorDocument 401 /error/
ErrorDocument 403 /error/

View File

@@ -28,6 +28,9 @@ Once you create a virtualhost which looks something like:
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