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

Re: Apache and public_html directories



On Sun, 21 Feb 1999, Mark Ciciretti wrote:

> How do I set up public_html directories for users?  I installed the
> 1.3.4 package of apache and apache-common.  I then created a public_html
> directory under /home/mark/.  When I enter the URL localhost/~mark/ I get

> Forbidden
 
> You don't have permission to access /~mark/ on this server.

Is the file /home/mark/public_html readable by the user or group that
Apache runs as?  I set the home directories of my users up to have
permissions of 710 and membership in the group that Apache runs as
("wheel" on my main computer, "www-data" on every Debian installation I've
ever seen) and the public_html directory has permissions of 775.

This means that Apache can get into everybody's public_html directory, but
no users can.
-- 
Jonathan Guthrie (jguthrie@brokersys.com)
Brokersys  +281-895-8101   http://www.brokersys.com/
12703 Veterans Memorial #106, Houston, TX  77014, USA


Reply to: