[CentOS] httpd userdir problem

Fri Sep 25 17:03:34 UTC 2015
Timothy Murphy <gayleard at eircom.net>

Timothy Murphy 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."

Incidentally, httpd -l returns
Compiled in modules:
  core.c
  mod_so.c
  http_core.c

But when I add
  LoadModule userdir_module modules/mod_userdir.so
to /etc/httpd/conf/httpd.conf and restart httpd I get the message
"AH01574: module userdir_module is already loaded, skipping"

I notice that under Apache 2.2 there were a dozen or more
LoadModule commands in httpd.conf
but they no longer appear there in Apache 2.4 .

-- 
Timothy Murphy  
gayleard /at/ eircom.net
School of Mathematics, Trinity College, Dublin