I just compiled and installed Apache 2.2.15 and I am having problems with the access of the set up UserDir... This is on a RHEL5.5 virtual kvm server. I really simplified the http-userdir.conf file to be just this: UserDir public_html <Directory "/home/*/public_html"> AllowOverride FileInfo AuthConfig Limit Indexes Options All Order allow, deny Allow from all </Directory> The problem is that when people try to go to their directories, many times the server will respond with this: [Thu Jul 08 18:33:44 2010] [error] [client 10.64.172.52] File does not exist: /proj/dsps-www/apache_2.2.15/htdocs/~gyukna As you can see even though the directory is ~username, it's looking in our defined DocumentRoot directory for the information. Then if you hit reload, from one to three times in the browser it might work and eventually you'll get it to load.... so sometimes it works, and sometimes it looks in DocumentRoot. Another type of error we sometimes see is: [Thu Jul 08 18:24:49 2010] [error] [client 10.64.166.79] File does not exist: /proj/dsps-www/apache_2.2.15/htdocs/~issues, referrer http://www.company.com/~issues/1x/issuemgr.cgi?item=02 If anyone has any ideas how to fix this, it would be very appreciated!
Well, I managed to find a workaround, but I have no idea why this fixed the issue. I added: UserDir disabled root right before the: UserDir public_html in the httpd-userdir.conf file. For some reason this seems to have made everything work. Maybe it's some kind of race condition?