Check your <Directory> settings in the conf file. susan -----Original Message----- From: Miguel A. Roriguez [mailto:bsd_miguel@yahoo.com] Sent: Monday, October 08, 2001 3:08 PM To: redhat-secure-server@redhat.com Subject: Forbidden You don have access / I''m having a problem with Apache I tried almost evreything on the book (using Linux 6.2) I don''t know what I''m dooing wrong, this is the status of my DocumentRoot: "/home/httpd/html" drwxrwxrwx user: nobody group: nobody, the status of httpd is: "httpd (pid 1102 1068 1067 1066 1065 1064 1063 1062 1061 1058) is running... I''m going creazy....Help Miguel - bsd_miguel@yahoo.com
Actually, I think the problem is likely that either the files are not rx, or
that if you are running apache under port 80, which is priveleged, apache
can''t accept the connection. Unless of course you used setuid (or
something
like it). Try changing the port to 8080 under httpd.conf and see if that
works (address has to be http://myaddresshere:8080/), and if it does it
means that you are having permission problems with the port. If it still
doesn''t work check the status of the files themselves (not just the
directory).
Adam
I''m having a problem with Apache I tried almost evreything on the book
(using Linux 6.2) I don''t know what I''m dooing wrong, this is
the status of
my DocumentRoot: "/home/httpd/html" drwxrwxrwx user: nobody group:
nobody,
the status of httpd is: "httpd (pid 1102 1068 1067 1066 1065 1064 1063 1062
1061 1058) is running...
I''m going creazy....Help
Miguel -
bsd_miguel@yahoo.com
directories need to be r to read, and x to cd into. files only need to be r for
read, NOT executable (unless it''s a cgi). Unless you allow indexes you
need an index.html file or whatever you have defined as DirectoryIndex. You also
need to allow things, i.e.:
<Directory />
Options None
AllowOverride None
Order allow,deny
Deny from all
</Directory>
<Directory /home/www>
Options Indexes Includes
AllowOverride AuthConfig
Order allow,deny
Allow from all
</Directory>
Outside of /home/www/ it won''t work.
Kurt Seifried, kurt@seifried.org
A15B BEE5 B391 B9AD B0EF
AEB0 AD63 0B4E AD56 E574
http://www.seifried.org/security/