|
ErrorDocument Without HTTP Response Code
I was wondering if this is viable. Consider this format:
ErrorDocument 400 /error.php?id=400
ErrorDocument 401 /error.php?id=401
ErrorDocument 403 /error.php?id=403
ErrorDocument 404 /error.php?id=404
ErrorDocument 500 /error.php?id=500
Could I simply use..
ErrorDocument * /error.php
.. and glean the response code from the headers instead? It would open up some new dynamic options for error handling.
P.S. I'm not sure what response codes are in the ErrorDocument scope. ErrorDocument * might be a silly idea in itself.
|