Permissions for web root

David Bandel david.bandel
Thu Jan 20 18:18:29 PST 2005


On Thu, 20 Jan 2005 16:07:04 -0600, Alma J Wetzker <almaw at ieee.org> 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"

Below the DocumentRoot /var/www/blah

you have a:
<Directory /var/www/blah>
stuff here ...
</Directory

find the old one and fix it with the new directory

> 
> 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?
> 
>      -- Alma
> _______________________________________________
> Linux-users mailing list
> Linux-users at linux-sxs.org
> http://mail.linux-sxs.org/cgi-bin/mailman/listinfo/linux-users
> 
> Need to chat further on this subject? Check out #linux-users on irc.linux-sxs.org !
> 

Ciao,

David A. Bandel
-- 
Focus on the dream, not the competition.
            - Nemesis Air Racing Team motto


More information about the Linux-users mailing list