[K12OSN] Apache userdir not working

Eric Brown ericbrown at mi-spot.com
Tue Jan 4 12:26:22 UTC 2005


Inside the /home/jack you must have a sub directory named public_html.  Only
the web pages inside this directory will appear on the web.  To get a page
to appear when you type http://homeserver/~jack you must have a file named
/home/jack/public_html/index.html

Good luck

-----Original Message-----
From: k12osn-bounces at redhat.com [mailto:k12osn-bounces at redhat.com] On Behalf
Of Jack
Sent: Tuesday, January 04, 2005 5:31 AM
To: Support list for opensource software in schools.
Subject: [K12OSN] Apache userdir not working

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.

The log has this line: 
[Tue Jan 04 06:00:37 2005] [error] [client 192.168.1.130] (13)Permission
denied: access to /~jack denied

The whole url would be:  http://homeserver/~jack

I've uncommented the userdir section in the httpd.conf file and
restarted apache:

<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

    #
    # To enable requests to /~user/ to serve the user's public_html
    # directory, remove the "UserDir disable" line above, and uncomment
    # the following line instead:
    #
    UserDir public_html

</IfModule>

 That should do it but it doesn't work.  I'm not sure what I am missing
here.

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

Also the /home is set for 777 
-- 
Jack <jackpal at cfl.rr.com>

_______________________________________________
K12OSN mailing list
K12OSN at redhat.com
https://www.redhat.com/mailman/listinfo/k12osn
For more info see <http://www.k12os.org>






More information about the K12OSN mailing list