Hjow I can change DocumentRoot??

Problems with the Windows version of XAMPP, questions, comments, and anything related.

Hjow I can change DocumentRoot??

Postby Mr.Guest » 12. June 2005 15:20

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?
Mr.Guest
 
Posts: 5
Joined: 12. June 2005 15:12

Postby keepsedge » 13. June 2005 13:46

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.
keepsedge
 
Posts: 33
Joined: 24. December 2004 11:04

Postby Mr.Guest » 13. June 2005 14:19

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 :)
Mr.Guest
 
Posts: 5
Joined: 12. June 2005 15:12


Return to XAMPP for Windows

Who is online

Users browsing this forum: No registered users and 151 guests