(13) Permission denied for users public_html directory. Red Hat's apache.

Discussion in 'Apache' started by thusi02, Aug 25, 2006.

  1. #1
    Hello All,
    I have just installed Red Hat ES4 with RH's distribution of apache. Default install and enabled the userdir and the public_html dir. The following is my configuration for httpd.conf:

    <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 enable all

    #
    # 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 All
    Options MultiViews Indexes SymLinksIfOwnerMatch IncludesNoExec ExecCGI
    </Directory>

    Why am I getting Permission denied (403 error) when trying to go to http://domain/~user/index.html

    Any help?

    Cheers,
    Thusi
    http://letstalkcoding.com
     
    thusi02, Aug 25, 2006 IP