httpd-dev mailing list archives

Site index · List index
Message view « Date » · « Thread »
Top « Date » · « Thread »
From Ben Laurie <...@gonzo.ben.algroup.co.uk>
Subject Re: ServerPath?
Date Mon, 26 Aug 1996 06:58:22 GMT
Alexei Kosut wrote:
> 
> On Sun, 25 Aug 1996, Ben Laurie wrote:
> 
> > Nope. I surrender, you can use as many syllables as you like! ;-)
> 
> Golly, thanks... okay, basically, it goes like this:
> 
> If you have a Host:-header based host, only those browsers that send Host:
> headers will be able to see it. The ServerPath directive allows you to
> make it so that all browsers, regardless, can get to that server. If I
> have:
> 
> <VirtualHost main.server.IP>
> ServerName www.foo.com
> DocumentRoot /www/foo
> ServerPath /foo
> </VirtualHost>
> 
> This means that a Host-header sending browser can access the server's
> documents by using http://www.foo.com/, yes, but it means that all
> browsers can access it using http://www.foo.com/foo/. It's functionally
> similar to simply putting:
> 
> Alias /foo /www/foo
> 
> into the main server config, but it sets the server name correctly, logs
> in the virtual host's logs, etc...

Ah, right, I see!

Cheers,

Ben.

> 
> -- Alexei Kosut <akosut@organic.com>            The Apache HTTP Server 
>    http://www.nueva.pvt.k12.ca.us/~akosut/      http://www.apache.org/
> 

-- 
Ben Laurie                  Phone: +44 (181) 994 6435
Freelance Consultant and    Fax:   +44 (181) 994 6472
Technical Director          Email: ben@algroup.co.uk
A.L. Digital Ltd,           URL: http://www.algroup.co.uk
London, England.            Apache Group member (http://www.apache.org)

Mime
View raw message