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:
parent
2e25cf45be
commit
daf7b2fb39
1 changed files with 3 additions and 5 deletions
|
@ -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
|
||||
|
|
Loading…
Reference in a new issue