paulq
07-13-2006, 04:45 PM
I am trying to redirect users that try to access either forbidden or missing files to a standard error page using Apache v1.3.35. I did some reading and found that using "ErrorDocument 404 /error.php" in httpd.conf does the trick quite nicely until I try to access something like "www.domain.com/folder_does_not_exist/".
In that case my pages look for my CSS sheets, which are stored in /CSS/, in /folder_does_not_exist/CSS/ therefore error.php displays, but without styles.
Same thing happens with images that are in /images/ any idea what I am doing wrong?
In that case my pages look for my CSS sheets, which are stored in /CSS/, in /folder_does_not_exist/CSS/ therefore error.php displays, but without styles.
Same thing happens with images that are in /images/ any idea what I am doing wrong?