Permissions for web root

Net Llama! netllama
Thu Jan 20 17:17:56 PST 2005


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?

-- 
~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~
Lonni J Friedman                                netllama at linux-sxs.org
Linux Step-by-step & TyGeMo                  http://netllama.ipfox.com


More information about the Linux-users mailing list