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.
Apache directory list and vhost problem
Moderator: General Moderators
-
thinsoldier
- Forum Contributor
- Posts: 367
- Joined: Fri Jul 20, 2007 11:29 am
- Contact:
Apache directory list and vhost problem
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
Fixed it.
I had to set up a virtual host specifically for http://localhost/ itself along with the other sites
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.