Tek-Tips is the largest IT community on the Internet today!

Members share and learn making Tek-Tips Forums the best source of peer-reviewed technical information on the Internet!

  • Congratulations Mike Lewis on being selected by the Tek-Tips community for having the most helpful posts in the forums last week. Way to Go!

localhost vs a vhost?

Status
Not open for further replies.

turnbui

Programmer
Jul 23, 2005
60
GB
Hi group,
I need some enlightenment please.
Whem I have no vhosts I access and the correct directories are accessed. However, when I have a couple of vhosts [1st one is the default] if I use I end up serving pages from the same directories for the first vhost ie CAn anyone tell me if having vhosts I can still have the localhost. I obviously have DocumentRoot in my <VirtualHost> block and the original DocRoot in the httpd.conf??
Thanks
Ian t
 
Once VirtualHosts are enabled, only VirtualHosts will be served. The first in the list will be served if apache can't determine which one is being requested.
 
Status
Not open for further replies.

Part and Inventory Search

Sponsor

Back
Top