Welcome to WebmasterWorld Guest from

Forum Moderators: Ocean10000 & incrediBILL & phranque

Message Too Old, No Replies

yet another 404 problem

only absolute URLs work on some virtual hosts

8:02 pm on Oct 26, 2003 (gmt 0)

Senior Member

WebmasterWorld Senior Member 10+ Year Member Top Contributors Of The Month

joined:July 24, 2002
votes: 0

i have been using the following line successfully on one of our virtual hosts.

ErrorDocument 404 /404.html

the httpd.conf looks like this:

<Directory />
AllowOverride AuthConfig FileInfo
Options FollowSymlinks Multiviews

<Directory /usr/local/apache/sites/virtualhost.com>
AllowOverride All
Options FollowSymlinks IncludesNoExec Multiviews

but in another virtual host which i have set up identically, only an absolute URL works:

ErrorDocument 404 [virtualhost2.com...]

this is not optimal, because the old URL is not left in the browserbar, and i think the actual header sent is a 302.

i have double and triple checked all my syntax, and can't find any errors, but i think it must be something silly which i've missed? it's so odd that it works in one site and not in the other!

many thanks

9:27 pm on Oct 26, 2003 (gmt 0)

Senior Member

WebmasterWorld Senior Member jdmorgan is a WebmasterWorld Top Contributor of All Time 10+ Year Member

joined:Mar 31, 2002
votes: 0



PatrickDeese is struggling with the exact same problem over here [webmasterworld.com]. You two may want to compare notes.



Join The Conversation

Moderators and Top Contributors

Hot Threads This Week

Featured Threads

Free SEO Tools

Hire Expert Members