Make XAMPP/Apache serve file outside of htdocs
Blog :Mohit Kumar
Date: 7/10/2012 2:24:22 PM
If you use XAMPP for development, you have to use the htdocs folder to store your production/development files. If you want to map any other folder to use as a development path, you can just do the following settings.
Edit the value of DocumentRoot setting in XAMPP\apache\conf\httpd.conf.
It should currently be:
Change it to the folder you wish
Don’t forget to edit it in BOTH lines that ask for DocumentRoot. If you only change the top one, you’ll get read-access errors.