How to change www root directory on WampServer 3

How can I change the root directory of the currently installed wampserver server to some other directory. I have the location of the change directory from httpd.conf like. I use the Hash tag before the root of Dcoument and Directory, but for the new root I have a new line without a hash tag.

#DocumentRoot "c:/wamp64/www" DocumentRoot "G:/04-WebSites/NEW_WORK" #<Directory "c:/wamp64/www/"> <Directory "G:/04-WebSites/NEW_WORK/"> 

C: \ wamp64 \ Bin \ Apache \ apache2.4.18 \ conf \ httpd.conf

after restarting the server, PC repeatedly, the Wamp server still displays the www / index page.

enter image description here

+6
source share
1 answer

You need to change these values ​​also in httpd-vhosts.conf located in \ conf \ extra

+14
source

All Articles