[users@httpd] Changing Document Root

[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]

 



I had apache working great, serving pages from the
/home/dotan/www/public_html directory as DocumentRoot. Now that I want
to move it back to the default /var/www/html I am getting this error
(after making the appropriate changes to httpd.conf and restarting the
server):
Forbidden
You don't have permission to access / on this server.

So I checked the FAQs at apache.org, and I see that:
* The underlying file system permissions do not allow the User/Group
under which Apache is running to access the necessary files; or
* The Apache configuration has some access restrictions in place which
forbid access to the files.

My log looks like this:
[Sun Oct 09 17:58:05 2005] [error] [client 127.0.0.1] (13)Permission
denied: access to / denied

So how do I change my permissions so that apache can access the files
in /var/www and also, so that the user 'work' can read and write to
those files as well? Thanks all in advance for excusing my ignorance.

Dotan Cohen
http://technology-sleuth.com/internet/index.php

---------------------------------------------------------------------
The official User-To-User support forum of the Apache HTTP Server Project.
See <URL:http://httpd.apache.org/userslist.html> for more info.
To unsubscribe, e-mail: users-unsubscribe@xxxxxxxxxxxxxxxx
   "   from the digest: users-digest-unsubscribe@xxxxxxxxxxxxxxxx
For additional commands, e-mail: users-help@xxxxxxxxxxxxxxxx



[Index of Archives]     [Open SSH Users]     [Linux ACPI]     [Linux Kernel]     [Linux Laptop]     [Kernel Newbies]     [Security]     [Netfilter]     [Bugtraq]     [Squid]     [Yosemite News]     [MIPS Linux]     [ARM Linux]     [Linux Security]     [Linux RAID]     [Samba]     [Video 4 Linux]     [Device Mapper]

  Powered by Linux