Apache directory list and vhost problem

XML, Perl, Python, and other languages can be discussed here, even if it isn't PHP (We might forgive you).

Moderator: General Moderators

Post Reply
thinsoldier
Forum Contributor
Posts: 367
Joined: Fri Jul 20, 2007 11:29 am
Contact:

Apache directory list and vhost problem

Post 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.
Warning: I have no idea what I'm talking about.
thinsoldier
Forum Contributor
Posts: 367
Joined: Fri Jul 20, 2007 11:29 am
Contact:

Re: Apache directory list and vhost problem

Post by thinsoldier »

Fixed it.
I had to set up a virtual host specifically for http://localhost/ itself along with the other sites
Warning: I have no idea what I'm talking about.
Post Reply