httpd-users mailing list archives

Site index · List index
Message view « Date » · « Thread »
Top « Date » · « Thread »
From (George Walsh)
Subject [users@httpd] Virtual Hosts; document root as seen from a local user account and from the internet
Date Thu, 03 Apr 2003 17:17:27 GMT

I am working with Apache 2.0.44 under Mandrake 9.1.

This configuration is connected to the internet through a LinkSys router. There are 4 hosts
listed in etc/hosts using ipaliasing. DNS and sendmail are also installed and working correctly

In the Apache config file, 2 virtual hosts have been established to handle traffic for the
2 web sites under development:

DocumentRoot /cdiv/web
ScriptAlias /cgi-bin/ /cdiv/cgi-bin

DocumentRoot /xdiv/web
ScriptAlias /cgi-bin/ /xdiv/cgi-bin

If I log in to a local user account Apache will correctly resolve either localhost or
to the default server's page at /var/www/html. It will also correctly display the temporary
html.index pages when I ask for either or, so
I know the virtual hosting is working.

However, if I go to another machine and ask for or
I am taken to the default page at /var/www/html instead of to the correct Document Root, albeit
the correct URL name is nicely displayed on the default page.

To guard against possible access problems I inserted a specific 'allow from all' in a <Directory>
instruction within each virtual host but nothing changed.

There are no errors reported in the log, and the access log shows nothing unusual about the
calls made.

Could some kind heart out there point me in the right direction?

Thanks so much ...

George Walsh,
Managing Director,
CruiseRoutes Division,
DSC Directional Services Corp
Courtenay, British Columbia, Canada

Try AOL and get 1045 hours FREE for 45 days!

Get AOL Instant Messenger 5.1 for FREE! Download Now!

The official User-To-User support forum of the Apache HTTP Server Project.
See <URL:> for more info.
To unsubscribe, e-mail:
   "   from the digest:
For additional commands, e-mail:

View raw message