Richard Mann wrote:
Look in /etc/httpd/conf.d/ for userdir.conf.
Here is my userdir.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 disabled
# # To enable requests to /~user/ to serve the user's public_html # directory, remove the "UserDir disabled" 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 Indexes AllowOverride All Require all granted Options MultiViews Indexes SymLinksIfOwnerMatch IncludesNoExec Require method GET POST OPTIONS </Directory> -------------------------
I'm running httpd-2.4.6-31.el7.centos.1.x86_64 under CentOS-7 (kernel 3.10.0-229.14.1.el7.x86_64).
I cannot get the httpd userdir facility working; when I try to access localhost/Menloe I get the message "You don't have permission to access /Menloe on this server."