joined:Mar 16, 2005
I have one server that hosts many different websites. So, the path structure is like this:
I am trying to set up a .htaccess file in the Domain 1 folder that will handle ErrorDocument redirecting for all the domains. This way if I add anything to my .htaccess file then I don't have to copy it to every domain. I currently have this line in my .htaccess file:
ErrorDocument 404 /error.htm
This works for Domain 1 which contains the error.htm file but not for the other domains. Is there a way to code this? I see you can put a url instead of a path to the error file but a number of online sites say that really isn't a good idea.