I have php(wamp) installed in ‘E’ drive. Actually, my project in the ‘F:’ drive.
How do i set the document root in apache httpd.conf file to access the project in F: drive.
For example, if i enter “http://127.0.0.1/projectname”, it should point to the ‘F’ drive project.
If you need to change document root then find <Directory in httpd.conf and change it there. It most likely reads <Directory “c:/wamp/www/”> now or similar. Once you’ve changed it and saved it you can restart WAMP.
On the other hand if you just want to have that one project “http://localhost/thisproject” to point somewhere else you can just use an alias.