Forum Moderators: phranque

Message Too Old, No Replies

Apache not accessing Vista folder

         

AlanJ

3:14 pm on Jul 24, 2008 (gmt 0)

10+ Year Member



I've been successfully running Apache on Windows XP for some time, but have just migrated to Vista and have encountered a load of problems. Most have been solved by careful searching on the web, but the one(?) remaining problem is due to Apache being unable to access my document root folder.

Because of the issues of writing files within the Vista 'Program Files' area, I've elected to set my DocumentRoot to "C:/Development/www". However, when I point my browser at "localhost/<something>" I get a '403 Forbidden You don't have permission to access /<something> on this server.

I guess this is down to setting up correct access permissions, but I've tried everything I can think of, but to no avail.

Any ideas?

Thanks in advance.

Alan

eelixduppy

3:18 pm on Jul 24, 2008 (gmt 0)



Apache has a lot of issues running on Vista; I've seen it randomly just crash sometimes, too. If you are serious about running Apache, then I wouldn't run it on XP or Vista.

And Welcome to WebmasterWorld :)

AlanJ

4:09 pm on Jul 24, 2008 (gmt 0)

10+ Year Member



Fixed this problem after realising that, as well as changing the DocumentRoot directive, I also had to change the <Directory ...> tag in httpd.conf to point to the same place.

Made this change, re-started Apache and everything now works as expected.

Alan