[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]

Re: [cobalt-users] FOUND The document has moved here.



Hello List,

Sunday, February 11, 2001, 2:42:07 AM, you wrote:

j> I have a user who is trying to hit sites on my box. 

j> He keeps getting this error:

j> FOUND
j> The document has moved here.
j> where "here" is a link. Click "here" and the same page repeats.

j> (which is an endless loop)

j> He's using ersion 1.1N of Netscape for a Mac IIci. He's on a 56k modem.

j> I believe it's his browser; and he should upgrade; however. Convincing
j> him of this is another animal.

j> Is there anything in apache that I can configure for him to be able to
j> see the sites on my cobalt??

j> Thanks.


Hello

Just a guess, but the problem could be with name-based hosting (even
though you said each site has his own IP..). I didn't try this (I only
have a Qube !!).

Taken from the Apache Documentation:
(http://www.apache.org/docs/vhosts/name-based.html)
=====================================================================
Compatibility with Older Browsers

As mentioned earlier, there are still some clients in use who do not
send the required data for the
name-based virtual hosts to work properly. These clients will always
be sent the pages from the first
virtual host listed for that IP address (the primary name-based
virtual host).

There is a possible workaround with the ServerPath directive, albeit a
slightly cumbersome one:

Example configuration: 

    NameVirtualHost 111.22.33.44

    <VirtualHost 111.22.33.44>
    ServerName www.domain.tld
    ServerPath /domain
    DocumentRoot /web/domain
    </VirtualHost>

What does this mean? It means that a request for any URI beginning
with "/domain" will be served from
the virtual host www.domain.tld This means that the pages can be
accessed as
http://www.domain.tld/domain/ for all clients, although clients
sending a Host: header can also access it
as http://www.domain.tld/.

In order to make this work, put a link on your primary virtual host's
page to
http://www.domain.tld/domain/ Then, in the virtual host's pages, be
sure to use either purely relative
links (e.g., "file.html" or "../icons/image.gif" or links containing
the prefacing /domain/ (e.g.,
"http://www.domain.tld/domain/misc/file.html"; or
"/domain/misc/file.html").

This requires a bit of discipline, but adherence to these guidelines
will, for the most part, ensure that your
pages will work with all browsers, new and old.
=====================================================================

HTH
-- 
Regards,
 Pierre                          
 pierre@xxxxxxxxxxx