>I'm running Apache 1.3 under RedHat Linux 5.2. I'm trying to enable the
>"UserDir" feature in Access.conf so that http://oursite.foo.bar/~bob/ will
>open index.html under /home/bob/public_html.
>Right now, such an attempt logs an error "Access to /home/bob/public_html
>denied by rule. Obviously, there's something else I need to do to enable
>this feature. Do I need a </Directory> declaration somewhere?
>Suggestions would be greatly appreciated.
>Greg
Why in the world did you name this thread "comp.mail.sendmail"? Makes
no sense!
In any event:
Is there an index.html file in bob's public_html folder? Is it
readable by the web server?
If so, do you have index.html listed as a DirectoryIndex? This should
be in httpd.conf.
Next look at permissions on the user directories (and their parents)
to make sure apache has the correct access to even read the data.
If still no go, take a look and scour your conf files for any
<directory> statements that might cover your users public_html
directories. If none is active, then that might be what the problem
is. Default apache configs should have something like this:
# First, we configure the "default" to be a very restrictive set of
# permissions.
#
<Directory />
Order deny,allow
Deny from all
Options FollowSymLinks
AllowOverride None
</Directory>
And unless you override that with something to give public_html
directories access, apache will not display them.
Look for something like:
#
# Control access to UserDir directories. The following is an example
# for a site where these directories are restricted to read-only.
#
#<Directory /*/public_html>
# AllowOverride FileInfo AuthConfig Limit
# Options MultiViews Indexes SymLinksIfOwnerMatch IncludesNoExec
# <Limit GET POST OPTIONS PROPFIND>
# Order allow,deny
# Allow from all
# </Limit>
# <Limit PUT DELETE PATCH PROPPATCH MKCOL COPY MOVE LOCK UNLOCK>
# Order deny,allow
# Deny from all
# </Limit>
#</Directory>
And see if you have it commented or not.
Good luck,
--
Christopher Schulte
Replace usenet with chris to send mail.
will *never* get to me. I hate spam!