![]() |
.htaccess issues - Custom Error Documents
I've used cusom error pages in my domains.
however - I think I'm missing something with regards to the logic. I could NEVER have: ErrorDocument 404 /error.html I always needed to have ErrorDocument 404 http://www.domain.com/error.html Almost all the "tutorials" I have seen with regards to this say you can do /error.html instead of the full domain but none explain the difference. Why is this? Am I missing an option in my httpd.conf? Do I need to "enable" some sort of virtual directory resolution like followsymlinks? |
did you happen to try just plane error.html ? with out the / I also is your htacces is in the same dir as the error.html page?
|
Yup on both counts :(
|
is there a error.html at / on your domain?
|
Quote:
http://www.domain.com/error.html works but /error.html or error.html does not. |
Bump?
|
If you're running virtual servers, you should define your error document in httpd.conf (that's what I do) and you can customize it for each domain quite easily.
It should work with the .htaccess method in the top level of the domain, but I have never had a problem with it in the httpd.conf. |
| All times are GMT -7. The time now is 03:23 AM. |
Powered by vBulletin® Version 3.8.8
Copyright ©2000 - 2025, vBulletin Solutions, Inc.
©2000-, AI Media Network Inc123