How to change DocumentRoot
Posted: 19. August 2006 02:25
Hello,
I'm having trouble resetting the DocumentRoot from "C:/Program Files/xampp/htdocs" to "E:\IMF". I've edited the httpd.conf file (in C:\Program Files\xampp\apache\conf) as follows:
Upon which I restarted the server, and tried visting http://localhost, I go the message:
Access forbidden!
You don't have permission to access the requested directory. There is either no index document or the directory is read-protected.
...
Error 403
Please help,
Thanks.
I'm having trouble resetting the DocumentRoot from "C:/Program Files/xampp/htdocs" to "E:\IMF". I've edited the httpd.conf file (in C:\Program Files\xampp\apache\conf) as follows:
- Code: Select all
#DocumentRoot "C:/Program Files/xampp/htdocs"
DocumentRoot "E:/IMF"
...
#
# This should be changed to whatever you set DocumentRoot to.
#
#<Directory "C:/Program Files/xampp/htdocs">
<Directory "E:/IMF">
Upon which I restarted the server, and tried visting http://localhost, I go the message:
Access forbidden!
You don't have permission to access the requested directory. There is either no index document or the directory is read-protected.
...
Error 403
Please help,
Thanks.