I host several sites (name based in apache) and I currently have an htaccess that has an error handler
ErrorDocument 404 http://mydomain.com/errorDocs/404.htm
is there a way for me to pass the domain name that the error came from I want to do some basic redirection.
I need something like this:
ErrorDocument 404 http://mydomain.com/errorDocs/404.htm?host=%{HTTP_HOST}
however this does not provide the doamin and get printed as plain text.