In article <mu3t01$c2l$1@xxxxxxxxxxxxx>, Timothy Murphy <gayleard@xxxxxxxxxx> wrote: > 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." > > I see in /var/log/httpd/error_log > "Symbolic link not allowed or link target not accessible: > /var/www/html/Menloe" > while in /var/log/httpd/access_log I see > "GET /Menloe HTTP/1.1" 403 208 > > In /etc/httpd/conf.d/userdir.conf I have > UserDir public_html > and > <Directory "/home/*/public_html"> > AllowOverride All > Require all granted > Options MultiViews Indexes SymLinksIfOwnerMatch IncludesNoExec > Require method GET POST OPTIONS > </Directory> > > The directory ~/public_html/Menloe/ is owned by me, > and has permissions drwxr-xr-x. You need to include your username in the URL, otherwise it doesn't know whose public_html directory to look for. The username must be preceded by a tilde, for example: http://localhost/~timothy/Menloe Cheers Tony -- Tony Mountifield Work: tony@xxxxxxxxxxxxx - http://www.softins.co.uk Play: tony@xxxxxxxxxxxxxxx - http://tony.mountifield.org _______________________________________________ CentOS mailing list CentOS@xxxxxxxxxx https://lists.centos.org/mailman/listinfo/centos