VirtualHosts Stopped Working

Posted by Kevin C. on Server Fault See other posts from Server Fault or by Kevin C.
Published on 2011-01-17T22:09:37Z Indexed on 2011/01/17 22:55 UTC
Read the original article Hit count: 549

Filed under:
|
|
|
|

I'm working on a website and have WAMP setup for local testing. Usually I set up virtual hosts using httpd-vhosts + the hosts file without a hitch. All of a sudden, my virtual hosts are no longer working. I know that it's pointing to Apache because I get a '403 Forbidden' error, but that's about it. All of my previously working virtual hosts no longer work as well. Anybody know what's going on?

httpd-vhosts.conf

<VirtualHost *:80>
ServerAdmin webmaster@localhost
DocumentRoot "C:\Documents and Settings\kevin\Desktop\websites\fusion"
ServerName ebrochures
ErrorLog "logs/your_own-error.log"
CustomLog "logs/your_own-access.log" common
<directory "C:\Documents and Settings\kevin\Desktop\websites\fusion">
    Options Indexes FollowSymLinks
    AllowOverride all
    Order Deny,Allow
    Deny from all
    Allow from 127.0.0.1
</directory>

hosts file:

127.0.0.1 fusion

And yes, I am including the virtual hosts file in my httpd.conf file:

# Virtual hosts
Include conf/extra/httpd-vhosts.conf

© Server Fault or respective owner

Related posts about apache

Related posts about virtualhosts