Forum Moderators: phranque

Message Too Old, No Replies

Setting home page

Initial configuration

         

wreckinbar

6:25 pm on Mar 12, 2005 (gmt 0)

10+ Year Member



I am new to the world of client/server but not to the world of programming. I have successfully installed Apache on a Window XP machine and am running scripts thru the default cgi-bin directory. My problem is this: I can't get localhost to default to anything except the default index.html file. When I create a new folder and enter its URL as default, I get error " HTTP 403 - Permission forbidden (You are not authorized to view this page)" rather than the expected file directory. I have tried:

Alias /default/ "C:/(foldername)/"

UserDir "(foldername)"
<Directory "C:/(foldername)"

in httpd.conf without success
Any assistance with this problem would be greatly appreciated.

jdMorgan

9:58 pm on Mar 12, 2005 (gmt 0)

WebmasterWorld Senior Member 10+ Year Member



wreckinbar,

Welcome to WebmasterWorld!

This isn't ringing any bells for me, but just to check, have you investigated the DirectoryIndex directive?

Jim

wreckinbar

5:41 pm on Mar 19, 2005 (gmt 0)

10+ Year Member



As usual, a silly error.

UserDir "C:/(folder)"
Alias / "C:/(folder)/" works fine

Thanks