[K12OSN] Apache userdir not working

Jack jackpal at cfl.rr.com
Tue Jan 4 21:38:33 UTC 2005


Thanks for all the advise.  I realize that 777 is a really bad idea but
I'm at home behind a firewall and all that stuff. Here is a more
complete stanza from my httpd.conf

#
    # 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>

#
# Control access to UserDir directories.  The following is an example
# for a site where these directories are restricted to read-only.
#
<Directory /home/*/public_html>
    AllowOverride FileInfo AuthConfig Limit
    Options MultiViews Indexes SymLinksIfOwnerMatch IncludesNoExec
    <Limit GET POST OPTIONS>
        Order allow,deny
        Allow from all
    </Limit>
    <LimitExcept GET POST OPTIONS>
        Order deny,allow
        Deny from all
    </LimitExcept>
</Directory>

I'm not sure how to "show directory contents".  I am sure permissions
are way overkill.  Its just something simple I'm sure but its eluding
me.  Pretty much par for the course today.

Jack


On Tue, 2005-01-04 at 07:47 -0800, Aaron Leininger 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.
> > 
> > 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
> Set your /home/jack so that everyone has read access. Maybe 754 or 755. 
> Also make sure /home/jack/public_html has at least read access for everyone.
> Again something like 754 or 755. Try bringing up web page again in
> public_html folder. If you still don't see the folder contents, create a
> file and try and access it directly
> 
> http://yourserver/~jack/somefile.html If that works, then the problem is w/
> showing directory contents and not w/ the permissions. 
> 
> Aaron
> 
> > 
> >  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>
> > 
> 
> _______________________________________________
> K12OSN mailing list
> K12OSN at redhat.com
> https://www.redhat.com/mailman/listinfo/k12osn
> For more info see <http://www.k12os.org>
-- 
Jack <jackpal at cfl.rr.com>




More information about the K12OSN mailing list