Single ErrorDocument directive to catch all errors (.htaccess)
- by Mike Valeriano
Hello.
Is there something like a wildcard directive to catch all possible errors and deal with them in a single custom error page?
ErrorDocument 404 /error.php?code=404
ErrorDocument 403 /error.php?code=403
...
ErrorDocument NNN /error.php?code=NNN #possible use of RegExp?
I know I probably won't be dealing with a lot of custom error pages here, but I'm curious about this.