web-profile

Enable Virtual hosts in apache

File: c:\Servers\Apache\conf\httpd.conf (uncomment line):

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

File: c:\WINDOWS\system32\drivers\etc\ (add line to the end of file):

127.0.0.1       local.com

File: c:\Servers\Apache\conf\extra\httpd-vhosts (add line to the end of file):

<VirtualHost *:80>
ServerName local.com
ServerAlias *.local.com
DocumentRoot d:\www\local\web
</VirtualHost>

Leave a Reply

Your email address will not be published. Required fields are marked *