Permissions for web root
Alma J Wetzker
almaw
Thu Jan 20 17:43:32 PST 2005
Net Llama! wrote:
> On Thu, 20 Jan 2005, Alma J Wetzker wrote:
>
>>I am trying to get my daughters school project up before my classes
>
> tonight so
>
>>I don't have as much time to comb the docs.
>>
>>I moved the web root from:
>>
>>/var/www/localhost/htdocs
>>
>>to:
>>
>>/var/www/wetzker.org/htdocs
>>
>>This is apache 2.0.52. When I change the apache2.conf from:
>>
>>DocumentRoot /var/www/localhost/htdocs
>>
>>to:
>>
>>DocumentRoot /var/www/wetzker.org/htdocs
>>
>>I get a permissions error in the browser:
>>
>>"you don't have permission to access / on this server"
>>
>>The owner of the directories (localhost and wetzker.org) is root with
>>permissions of 755 for directories and 644 for files.
>>
>>What do I need to tweak to get apache to cough up the web site?
>
>
> Did it work before you moved it? Did you check the error log?
>
I had a working configuration (and can get it back by changing the directory
in the config file).
[Thu Jan 20 09:33:48 2005] [error] [client 192.168.2.27] client denied by
server configuration: /var/www/wetzker.org/htdocs/
[Thu Jan 20 09:51:51 2005] [error] [client 192.168.2.27] client denied by
server configuration: /var/www/wetzker.org/htdocs/
is what the error logs look like.
I haven't really moved anything. I am just trying to point the configuration
file to a new root directory. For some reason I thought that would be simple.
-- Alma
More information about the Linux-users
mailing list