Page 1 of 1

Hjow I can change DocumentRoot??

PostPosted: 12. June 2005 15:20
by Mr.Guest
Hello,
I trying XAMPP for Windows. And I need change DocumentRoot from "C:\apachefriends\xampp\xampp\htdocs\" to "C:\"
but if I do this, can not run my WebPages in "http://localhost/something/someaddr/somefile.php"
write me that I have not permision for this page :((
And if I try only "http://localhost" someone refresh to "http://localhost/xampp/splash.php". Why?

PostPosted: 13. June 2005 13:46
by keepsedge
edit the httpd.conf file found in the apache directory.

I would not run off the root directory of a hard drive. at least create a directory call wwwroot/ or something. You server software and php configuration and executable should remain a directory below.. or otherwise away from your pages.

PostPosted: 13. June 2005 14:19
by Mr.Guest
I have ow good. Mistake was in :
<Directory />
Order From All
...
...
...
</ directory>
I ALL replase to NONE and I have now rights for all pages :)