extract from (Unofficial) WAMP Setup and Usage Guide
: [
forum.wampserver.com]
If you wish to save all your website files in a different location, you can edit the Document Root setting in your httpd.conf file and change it to where you which to save your website files too. To change your DocumentRoot, open up your httpd.conf file and find:
DocumentRoot "C:/wamp/www"
Change it to:
DocumentRoot "C:/some/other/folder
Save the file and restart Apache for the net setting to take effect. Now move your website files to your new DocumentRoot location and you will now be using this new location for your website files.
To access your script, start Apache, start your favorite web browser and surf to [
localhost]. If the name of your script is test.php, then to access it you would type [
localhost].