How to set virtual host
setting virtual host in windows
Open httpd-vhosts.conf file from c:\xampp\apache\conf\extra and add this code to the end of the file
<VirtualHost *:80>
DocumentRoot "/xampp/htdocs/zf2/ZendSkeletonApplication/public"
ServerName www.ZendSkeletonApplication.dev
SetEnv APPLICATION_ENV "development"
<Directory "/xampp/htdocs/zf2/ZendSkeletonApplication/public">
DirectoryIndex index.php
AllowOverride All
Order allow,deny
Allow from all
</Directory>
</VirtualHost>
How to set virtual host
Reviewed by Dhaneshwar
on
11:54:00 PM
Rating:
No comments: