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:
@@ -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/
|
||||
|
||||
@@ -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
|
||||
|
||||
Reference in New Issue
Block a user