URL Mapping - ApacheCon 2005
Error documents- However, if the file is not there ...
- Maps an error condition to a more useful error message
ErrorDocument 404 /cgi-bin/404.cgi
| | |
ErrorDocument 404 http://www.errors.com/
| | |
ErrorDocument 500 /errors/500.html
| | |
# Apache 1.3
ErrorDocument 403 "You need to log in first
| | |
# Apache 2.0
ErrorDocument 403 "You need to log in first"
| | |
- In Apache 1.3, when you specify a string argument to
ErrorDocument , you start with quotes, but do not close the quotes on the end of the string. - In Apache 2.0, you need to close the quotes.
|
|