Apache2: UserDir Sites
On Mountain Lion w/ Server installed:
All I want is for:
to work
I have played with UserDir setting in httpd.conf (it's actually in /private/etc/apache2/extra/httpd-userdir.conf - but I've played with moving it around from there to httpd.conf, etc.)
For the life of me I can't get it to work.
ownership/perms for Sites:
drwxr-xr-x 3 user staff 102 Jul 29 10:04 Sites
http://localhost/~user results in a 404
The error in the logs is:
[Tue Jul 31 17:13:21 2012] [error] [client fe80::226:8ff:fee1:382] File does not exist: /Library/Server/Web/Data/Sites/Default/~user
This has to be stupid simple but I'm not seeing it.
mod_userdir is there and being loaded (not commented out).
I see nothing that would stop this but, obviously, it's not working (unless it's the group on the Sites directory).
Any help is appreciated.
From /private/etc/apache2/extra/httpd-userdir.conf:
#
# UserDir: The name of the directory that is appended onto a user's home
# directory if a ~user request is received. Note that you must also set
# the default access control for these directories, as in the example below.
#
UserDir Sites
#
# Users might not be in /Users/*/Sites, so use user-specific config files.
#
Include /private/etc/apache2/users/*.conf
<IfModule bonjour_module>
RegisterUserSite customized-users
</IfModule>
That tells me that it should just do the UserDir Sites bit. I've tried it with/without the user.conf file which is included at the bottom.
What am I missing?
Thanks,
Brad
Mac mini, Mac OS X (10.7.3)