Search blog

Friday, December 7, 2012

Creating Virtual Host on Xampp 1.8.1

Firstly, please follow all the steps mentioned in this post of mine: http://soluzione08.blogspot.in/2012/02/creating-virtual-hosts-on-apache.html and then add this line 'Require all granted' as below for all your virtual host setup.The changes should be made to the file 'httpd-vhosts.conf'

<Directory "c:/vhosts/sandbox.wp">
    Options Indexes FollowSymLinks
    AllowOverride All
    Order allow,deny
    Allow from all
    Require all granted
  </Directory>

Note: The above code is an example for a Name-based Virtual Host. For and IP-based Virtual Host you will have to replace the Name with the IP which usually is "127.0.0.1" on a localhost.

1 comment:

  1. Geeez thanks! This saved me a lot of research ;)

    ReplyDelete

Thank you for your Feedback!
www.evagabond.me

Top 5 Posts (Weekly)