Sorry for the easy question.. I installed XAMPP. When i go to localhost in browser, the directory called "c:\xampp\htdocs\" is opening. I want to change the address of localhost to something like "d:\works\php\" Which file/part should i edit? Thank you

link|improve this question
2  
Find httpd.conf and look for DocumentRoot – N.B. Aug 24 '11 at 10:24
Thank you very much. – trante Aug 24 '11 at 10:26
feedback

migrated from stackoverflow.com Aug 24 '11 at 10:27

This question came from our site for professional and enthusiast programmers.

1 Answer

You need to change the DocumentRoot setting in XAMPP\apache\conf\httpd.conf:

c:\xampp\htdocs\

to

d:\works\php\
link|improve this answer
feedback

Your Answer

 
or
required, but never shown