On 02/18/10 13:46, Chuck Swiger wrote: <snip> > Whether the path to user home directories is honored or whether > Apache goes somewhere else for HTTP requests for /~user/foo.html > depends on what you set UserDir to: > > http://httpd.apache.org/docs/2.2/mod/mod_userdir.html > > It's possible that using: > > UserDir /usr/home/*/public_html > > ....will do better, if that is the actual path being used.
That's what I have it set to and it isn't honoring that. That's part of
what is bothering me (and what I suspect the issue might be).
>> See, now that's helpful. Thank you. No one suggested that. Will add
>> it and see if that changes anything.
>
> I suspect you already have it, according to what you'd shown in the
> prior mail. Using FollowSymLinks instead might be necessary
> depending on what you do with UserDir.
I did, but now I have both in the httpd-userdir.conf to no avail, same
with main conf.
<snip>
>> I rolled my own because I couldn't even get Apache from ports to
>> start with the default http.conf file provided.
>
> Hmm, unexpected. What did apachectl configtest say?
<snip>
I don't remember, but I was so frustrated I wasn't really paying that
much attention (it's been a month since I tried ports Apache).
Alright, here is the errors I'm getting (I set the loglevel to debug
instead of just warn):
[Thu Feb 18 14:01:01 2010] [notice] Apache/2.2.14 (Unix) configured --
resuming normal operations
[Thu Feb 18 14:01:01 2010] [info] Server built: Feb 13 2010 06:46:20
[Thu Feb 18 14:01:01 2010] [debug] prefork.c(1013): AcceptMutex: flock
(default: flock) <--- not sure what that is all about
[Thu Feb 18 14:01:08 2010] [error] [client 127.0.0.1] client denied by
server configuration: /home/user1/public_html
[Thu Feb 18 14:01:10 2010] [error] [client 127.0.0.1] client denied by
server configuration: /home/user1/public_html
UserDir file configuration:
UserDir disabled
UserDir enabled user1 user2
^^^^^<--- Those options as per the UserDir section in the manual, just
added them not two minutes before typing this out
UserDir public_html
#
# Control access to UserDir directories. The following is an example
# for a site where these directories are restricted to read-only.
#
<Directory /usr/home/*/public_html>
AllowOverride FileInfo AuthConfig Limit Indexes
Options MultiViews Indexes FollowSymlinks SymLinksIfOwnerMatch
IncludesNoExec
<Limit GET POST OPTIONS>
Order allow,deny
Allow from all
</Limit>
<LimitExcept GET POST OPTIONS>
Order deny,allow
Deny from all
</LimitExcept>
</Directory>
This really stinks. Is Apache 1.13 available? I don't remember having
these problems with it.
--
Yours In Christ,
PIT
Emails are not formal business letters, whatever businesses may want.
signature.asc
Description: OpenPGP digital signature
