Hi all
In setting up apache 2.2.3 with virtual hosts I have experienced
something very strange which has never happened before.
I have configured a vhost namely foo.com.conf with the path to the doc
root as /var/www/foo.com
when i go to http://www.foo.com it works and serves the pages from
/var/www/foo.com however when i go to http://foo.com it no longer
serves the pages from the doc root but rather reverts back to the
default site and serves pages from /var/www/apache2-default
Does anyone have any idea why using www. would serve pages from the
correct location but ommitting the www. serves them from the default
apache2 location?
--
Regards
Justin Hartman
PGP Key ID: 102CC123
--
To UNSUBSCRIBE, email to [EMAIL PROTECTED]
with a subject of "unsubscribe". Trouble? Contact [EMAIL PROTECTED]