Is it possible (I'm not really an apache person) that you are missing an
entry to you hosts file, as well as the config files?  My hosts file looks
like the following:  (edited for paranoia)

127.0.0.1               localhost localhost.localdomain
128.95.112.1            pandora.blah.blah.edu pandora

And I don't have an httpd.conf (since I don't serve) but perhaps it needs
a similar external entry?

Just an idea...

Later,
 David


"Without the Law, there is no Liberty.  Without Justice, there is no Law."


On Sun, 12 Sep 1999, James Stewart wrote:

> I'm trying to set up apache 1.3.6 to handle name-based virtual servers. My
> servers are running locally for testing, I'm not trying to set up a
> public-access web server.
> 
> My hosts file contains:
> 
> "127.0.0.1    britlinks.co.uk mworks.britlinks.co.uk www.britlinks.co.uk
> britlinks localhost" 
> 
> (a bit crowded, but all on one line in the actual file)
> 
> and my httpd.conf file contains (among other things):
> 
> "NameVirtualHost 127.0.0.1
> 
> <VirtualHost 127.0.0.1>
> ServerName mworks.britlinks.co.uk
> DocumentRoot /home/httpd/marketingworks.co.uk
> </VirtualHost>
> 
> <VirtualHost 127.0.0.1>
> ServerName britlinks.co.uk
> DocumentRoot /home/httpd/html
> ServerAlias www.britlinks.co.uk
> </VirtualHost>"
> 
> but whether I type in mworks.britlinks.co.uk or www.britlinks.co.uk or
> britlinks.co.uk, I always get the same page... /home/httpd/html/index.html
> 
> Where have I gone wrong?
> 
> cheers. James.
> 
> -- 
>     James Stewart     |          Britlinks         |  The Phantom Tollbooth
> [EMAIL PROTECTED] | http://www.britlinks.co.uk | http://www.tollbooth.org
> 
>      Sixpence None The Richer UK -- http://www.britlinks.co.uk/sixpence/
> 
> 

Reply via email to