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

Re: Apache and public_html directories



Another problem here is that apache may require an index.html file in the
public_html. If you just created the public_html dir and got this error
put a index.html file in there and try again. There is an option in
http.conf to allow/deny directory listings i believe.

--Rob

On Sun, 21 Feb 1999, Jonathan Guthrie wrote:
>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.


Reply to: