Find the answer to your Linux question:
Results 1 to 2 of 2
I seached the forums, and couldnt find an answer, if this has already been asked, please point me where thanks. Im using Apache 2.0 on a fresh Redhat Fedora Core ...
Enjoy an ad free experience by logging in. Not a member yet? Register.
  1. #1
    Just Joined!
    Join Date
    Mar 2004
    Posts
    21

    Apache, user_dir problems


    I seached the forums, and couldnt find an answer, if this has already been asked, please point me where thanks.

    Im using Apache 2.0 on a fresh Redhat Fedora Core 1 install, i have enabled mod_userdir and changed the user_dir parameters to :

    </IfModule mod_userdir.c>
    UserDir enabled
    UserDir public_html
    </IfModule>

    and have also tried

    </IfModule mod_userdir.c>
    UserDir enabled username
    UserDir public_html
    </IfModule>

    </IfModule mod_userdir.c>
    UserDir enabled
    UserDir disabled root
    UserDir public_html
    </IfModule>

    just to see if they would work.

    As of right now, when ever i connect to http://10.10.12.15 i get the default apache page, but when i try http://10.10.12.15/~username i get both 403, and 404. The file im accessing does exist, and the username does exist.

    any ideas one what might be causing this?

  2. #2
    Linux Guru
    Join Date
    Apr 2003
    Location
    London, UK
    Posts
    3,284

    Re: Apache, user_dir problems

    Quote Originally Posted by rathergoodman
    </IfModule mod_userdir.c>
    UserDir enabled
    UserDir public_html
    </IfModule>
    If that was copied straight out of your config file, it may be the line:
    Quote Originally Posted by rathergoodman
    </IfModule mod_userdir.c>
    Should be: (no extra /)
    Quote Originally Posted by rathergoodman
    <IfModule mod_userdir.c>
    Ensure that the public_html directory exists in that users home directory, and is readable by the apache user/group.

    Also ensure you restart apache after making any configuration changes.

    Jason

Posting Permissions

  • You may not post new threads
  • You may not post replies
  • You may not post attachments
  • You may not edit your posts
  •