- To: Slug User List <slug@xxxxxxxxxxx>
- Subject: Re: [SLUG] Apache confusion
- From: Thom May <thom@xxxxxxxxxxxxxxxxxx>
- Date: Wed Jul 18 14:39:02 2001
- User-agent: Mutt/1.2.5i
Hi.
You're doing name based vhosting, rather than ip based.
Accordingly, rather than have ips in the <VirtualHost>, have
names,
<VirtualHost sss.org.au>
ServerAlias www.sss.org.au
...
Any http1.1 client should now work properly.
-Thom, noting it's been bloody ages since he's done anything to
apache, and he may be talking bollocks.
* David Fisher (david@xxxxxxxxxxxxxxxxxxxxx) wrote :
> Afternoon all,
>
> I am having a problem with vhost configuration in apache. I have a machine,
> arachnid.apana.org.au which also hosts www.sss.org.au. Accordingly it has 2
> vhosts set up:
>
> NameVirtualHost 202.12.88.107
>
> <VirtualHost 202.12.88.107>
> DocumentRoot /var/www
> ServerName arachnid.apana.org.au
> RedirectPermanent /sss http://www.sss.org.au
> </VirtualHost>
>
> <VirtualHost 202.12.88.107>
> ServerAdmin webmaster@xxxxxxxxxx
> DocumentRoot /var/www/sss
> ServerName sss.org.au
> ServerAlias www.sss.org.au
> ErrorLog /var/log/apache/sss.org.au-error.log
> TransferLog /var/log/apache/sss.org.au-access.log
> ScriptAlias /_vti_bin/_vti_adm/ /var/www/sss/_vti_bin/_vti_adm/
> ScriptAlias /_vti_bin/_vti_aut/ /var/www/sss/_vti_bin/_vti_aut/
> ScriptAlias /_vti_bin/ /var/www/sss/_vti_bin/
>
> </VirtualHost>
>
> 'Scuse the FP2000 crap on sss - needed by the site author, unfortunately.
>
> Everything works nicely, including the redirect on arachnid.apana.org.au/sss,
> and the vhost www.sss.org.au, but for some reason sss.org.au does not go to
> www.sss.org.au but rather my pathetic home page at arachnid.apana.org.au
> EXCEPT if I use Lynx, which works perfectly!
>
> What is wrong with my httpd.conf?
>
> --
> David
>
> "Some weeks it looks like Redmond feels entitled to capture not just part of
> what we save, but all of it. That just isn't going to fly with corporate
> America forever. When your margins are more sensitive to Bill Gates' pricing
> whims than they are [to] the price of oil, that's an untenable position for a
> large company to be in." - John Chapman, Sr. Technology Executive, Amoco
>
>
>
> --
> SLUG - Sydney Linux User Group Mailing List - http://slug.org.au/
> More Info: http://lists.slug.org.au/listinfo/slug
>
>