Tugger the SLUGger!SLUG Mailing List Archives

[SLUG] Apache confusion


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