thusi02 Posted August 25, 2006 Share Posted August 25, 2006 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 Quote Link to comment https://forums.phpfreaks.com/topic/18664-user-dir-public-html-does-not-work-permission-denied/ Share on other sites More sharing options...
oldmanice Posted September 4, 2006 Share Posted September 4, 2006 The <Directory /home/*/public_html> bit is wrong it should be either DirectoryIndex header.html or DirectoryIndex index.html Quote Link to comment https://forums.phpfreaks.com/topic/18664-user-dir-public-html-does-not-work-permission-denied/#findComment-85471 Share on other sites More sharing options...
Recommended Posts
Join the conversation
You can post now and register later. If you have an account, sign in now to post with your account.