2
0
Fork 0
mirror of https://github.com/phanan/htaccess.git synced 2018-11-08 13:39:40 +01:00

different ways to define custom error messages

This commit is contained in:
Leon Fayer 2015-02-09 14:32:29 -05:00
parent 2e25cf45be
commit daf7b2fb39

View file

@ -309,11 +309,9 @@ php_value max_execution_time 240
### Custom Error Pages
``` apacheconf
ErrorDocument 400 /errors/breakingbad.html
ErrorDocument 401 /errors/notrespassing.html
ErrorDocument 403 /errors/mordor.html
ErrorDocument 500 "Houston, we have a problem."
ErrorDocument 401 http://error.yourdomain.com/mordor.html
ErrorDocument 404 /errors/halflife3.html
ErrorDocument 500 /errors/notabugitsafeature.html
```
### Force Downloading