On Wed, 03 Mar 2004 19:57:44 +1300, you wrote: >Hi >I have installed Apache2 and PHP and want to have DOCUMENT_ROOT set to >my a directory in my home folder, so I can write to the thing and test >it at the same time. My idea is then to mirror the entire directory up >to the actual www address, once I am happy with it. I am also interested >in investigating the running of a web server, so there is no need to >tell me I don't need to run one! It gives me a >---------------------------------------- >Forbidden > > >You don't have permission to access / on this server. > > >Additionally, a 403 Forbidden error was encountered while trying to use >an ErrorDocument to handle the request. > >--------------------------------------------- > >message if I set it to a dir in my home though, even though that is an >exact copy of what is there (and it works when set to default >/var/www/html/). What am I doing wrong? I didn't want to be logged in as >root to edit my webpages which is why I wanted to change in the first >place... >Cheers >Anton >-=-=- >... You know my heart keeps tellin' me, >You're not a kid at thirty-three, >You play around you lose your wife, >You play too long, you lose your life. >Some gotta win, some gotta lose, >Goodtime Charlie's got the blues.
I usually set up a dedicated partition, and mount it under /www. Look at adding your user to new groups, and use the group permissions to allow direct modify access to the relevant files. Steve
