Hello,
I was hoping someone could provide some help here... We are trying to
get apache running on a linux machine and provide a web directory to
all the users, by making a www directory under all of the user
directories (ie /home/mypage/www ) ... but the problem is is that no
matter what we do, we get a 403:Forbidden error message... I can't
figure it out. Here are a few things:
access.conf
## access.conf -- Apache HTTP server configuration file
##
# First, we configure the "default" to be a very restrictive set of
# permissions.
<Directory />
Options None
AllowOverride All
</Directory>
# This should be changed to whatever you set DocumentRoot to.
<Directory /home/httpd/html>
Options Indexes Includes FollowSymLinks
AllowOverride All
# Controls who can get stuff from this server.
order allow,deny
allow from all
</Directory>
<Directory /home/*/www>
Options Indexes Includes FollowSymLinks
AllowOverride All
order allow,deny
allow from all
</Directory>
# CGI directory exists, if you have that configured.
<Directory /home/httpd/cgi-bin>
AllowOverride All
Options ExecCGI
</Directory>
<Directory /home/*/www/cgi-bin>
AllowOverride All
Options ExecCGI
</Directory>
httpd.conf
ServerType standalone
# ServerRoot: The directory the server's config,
ServerRoot /etc/httpd
# User/Group: The name (or #number) of the
User nobody
Group nobody
srm.conf
## srm.conf -- Apache HTTP server configuration file
#
# DocumentRoot: The directory out of which you will serve your
# documents. By default, all requests are taken from this directory, but
# symbolic links and aliases may be used to point to other locations.
DocumentRoot /home/httpd/html
# UserDir: The name of the directory which is appended onto a user's
home
# directory if a ~user request is recieved.
UserDir www
UserDir /home/*/www
# DirectoryIndex: Name of the file or files to use as a pre-written HTML
# directory index. Separate multiple entries with spaces.
DirectoryIndex index.html index.htm index.shtml index.cgi
# Aliases: Add here as many aliases as you need (with no limit). The
format is
# Alias fakename realname
Alias www /home/*/www
----
I've removed some of the non related stuff to make the message
smaller... I've tried changing the permissions, the owner of www, the
paths in both the srm.conf and access.conf but nothing seems to work...
Anyone know what I'm overlooking here?
Thanks,
Kris
Sent via Deja.com http://www.deja.com/
Share what you know. Learn what you don't.