VHosts not working as expected, getting a 'forward' error.
Posted: 24. September 2008 18:39
Hello Everyone,
I'm trying to set up xampp to work with multiple virtual hosts and I'm having trouble. My 'default' vhost works fine, however my second vhost reports the following:
`Failed to forward the request to the web server at burningones.local:80. This may be due to a firewall configuration error or a DNS failure.`
`apache -S` reports nothing wrong with the vhost configuration, and I currently have the following in my httpd-vhosts.conf file.
`NameVirtualHost 127.0.0.1
<VirtualHost 127.0.0.1:80>
DocumentRoot /xampp/htdocs
ServerName localhost
ServerAlias www.localhost
</VirtualHost>
<VirtualHost 127.0.0.1:80>
DocumentRoot /xampp/htdocs/burningones.com/implementation
ServerName burningones.local
ServerAlias www.burningones.local
</VirtualHost>
<Directory "C:\xampp\htdocs\burningones.com\implementation">
Order allow,deny
allow from all
</Directory>`
burningones.local is set to resolve to 127.0.0.1 in my `etc/hosts` file.
Any help would be greatly appreciated. This is completely out of my depth.
I'm trying to set up xampp to work with multiple virtual hosts and I'm having trouble. My 'default' vhost works fine, however my second vhost reports the following:
`Failed to forward the request to the web server at burningones.local:80. This may be due to a firewall configuration error or a DNS failure.`
`apache -S` reports nothing wrong with the vhost configuration, and I currently have the following in my httpd-vhosts.conf file.
`NameVirtualHost 127.0.0.1
<VirtualHost 127.0.0.1:80>
DocumentRoot /xampp/htdocs
ServerName localhost
ServerAlias www.localhost
</VirtualHost>
<VirtualHost 127.0.0.1:80>
DocumentRoot /xampp/htdocs/burningones.com/implementation
ServerName burningones.local
ServerAlias www.burningones.local
</VirtualHost>
<Directory "C:\xampp\htdocs\burningones.com\implementation">
Order allow,deny
allow from all
</Directory>`
burningones.local is set to resolve to 127.0.0.1 in my `etc/hosts` file.
Any help would be greatly appreciated. This is completely out of my depth.