logo
Apache Lounge
Webmasters

 

About Forum Index Downloads Search Register Log in RSS X


Keep Server Online

If you find the Apache Lounge, the downloads and overall help useful, please express your satisfaction with a donation.

or

Bitcoin

A donation makes a contribution towards the costs, the time and effort that's going in this site and building.

Thank You! Steffen

Your donations will help to keep this site alive and well, and continuing building binaries. Apache Lounge is not sponsored.
Post new topic   Forum Index -> Apache View previous topic :: View next topic
Reply to topic   Topic: Apache htdocs 403 when changing DocumentRoot
Author
iannem



Joined: 28 Apr 2009
Posts: 1
Location: UK

PostPosted: Tue 28 Apr '09 13:42    Post subject: Apache htdocs 403 when changing DocumentRoot Reply with quote

Hi,

I am currently experiencing some issues with configuration on my local server. I am attempting to setup apache on a Windows Vista machine. I have gone through the tutorials I could find online. I have run the installer from the command line enabled as Administrator, I have also saved the installation outside the Program Files path, however nothing seems to cure the problem.

Basically if I leave the DocumentRoot as the default (within my c:/Apache/htdocs) directory then the setup works fine. However I wish to use a different setup (to allow for subdomains also) so wish to have my documents in the directory c:/WebRoot instead. When I change the DocumentRoot setting within the httpd.conf file (restart etc...) then I find that I get a 403 Forbidden error.

I have a feeling somewhere that this is due to file permissions but have no idea where to start. I am a relatively new user to Vista Ultimate.

Thanks In Advance.

Ian
Back to top
James Blond
Moderator


Joined: 19 Jan 2006
Posts: 7298
Location: Germany, Next to Hamburg

PostPosted: Tue 28 Apr '09 15:15    Post subject: Reply with quote

There is also a

Code:

<Directory "c:/Apache/htdocs">


change that path, too. That sets the persmissions.
Back to top


Reply to topic   Topic: Apache htdocs 403 when changing DocumentRoot View previous topic :: View next topic
Post new topic   Forum Index -> Apache