[K12OSN] Apache userdir not working

Jesus Aneiros Sosa jas at ehtcf.co.cu
Tue Jan 4 13:15:37 UTC 2005


On Tue, 4 Jan 2005, Jack wrote:

> For some reason I am not able to get Apache to display the public_html
> contents of a users home directory to work.  I keep getting a 403 error
> Forbidden.

That's the default behaviour in the Apache 2 version, I think.

> <IfModule mod_userdir.c>
>    #
>    # UserDir is disabled by default since it can confirm the presence
>    # of a username on the system (depending on home directory
>    # permissions).
>    #
>    # UserDir disable

Uncomment the previous line too. It must be:

UserDir enable

> As a last resort I've made the permissions for the /home/jack  directory
> 777

No, you are creating a severe security problem. Everybody will have 
permision to write on that home directory.

Put it 701.

> Also the /home is set for 777

No, it's not necesary.


Jesus Aneiros Sosa
GNU/Linux User #190716 en counter.li.org
perl -e '$_=pack(c5,0105,0107,0123,0132,(1<<3)+2);y[A-Z][N-ZA-M];print;'

Mensaje analizado en busca de virus y otros
contenidos peligrosos, se considera que está limpio.
MailScanner en la EHT "Perla del Sur".

More information about the K12OSN mailing list