Page 1 of 1

Apache directory list and vhost problem

Posted: Tue Apr 07, 2009 11:12 pm
by thinsoldier
I have a virtualhost set up for http://example.com and my hosts file redirects that url to my local ip.

When I enable the inclusion of the httpd-vhosts file, although the example.com site loads, if I go to localhost I no longer get a directory list at localhost.

Re: Apache directory list and vhost problem

Posted: Wed Apr 08, 2009 12:15 pm
by thinsoldier
Fixed it.
I had to set up a virtual host specifically for http://localhost/ itself along with the other sites