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 (optional) c:\wamp\www directory.

Related posts:

Leave a Reply

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