Log in

View Full Version : Apache Server Config



InNeedofHelp
05-27-2009, 02:23 AM
How do I set my apache server to use a 404.php page in response to 404 errors instead of a 404.shtml page? I read somewhere you use like

ErrorDocument 404 /404.php

but where do I edit that? And it's on a server taht supports multiple domains, and I want this to happen only one of the domains... is that a problem?

thetestingsite
05-27-2009, 03:42 PM
Using htaccess would be your best bet without actually editing the main server config. Just make a plain text file name .htaccess and place the code you posted above in that file.

Hope this helps.