Change www directory in wamp

1. Open C:\wamp\bin\apache\Apache2.2.17\conf\httpd.conf  and make change: a. DocumentRoot “H:/tanmay_website/www/” b. <Directory “H:/tanmay_website/www/“>   2. Open C:\wamp\bin\apache\Apache2.2.17\conf\extra\httpd-vhosts.conf and make change <VirtualHost *> ServerAdmin webmaster@localhost DocumentRoot “h:/tanmay_website/www” ServerName localhost ErrorLog “c:/wamp/logs/localhost-error.log” CustomLog “c:/wamp/logs/localhost-access.log” common </VirtualHost> 3. Remove […]

Make Virtual Host in WAMP

In the file: C:\wamp\bin\apache\Apache2.2.11\conf\extra\httpd-vhosts.conf Find: NameVirtualHost *:80     Replace with: NameVirtualHost * In the file: C:\wamp\bin\apache\Apache2.2.11\conf\httpd . conf Find: #Include conf/extra/httpd-vhosts.conf     and delete the # Location: C:\Windows\System32\drivers\etc\hosts For Each Website you will need to […]