From: Tony Hammitt <thammitt@kc.rr.com>
Subject: Re: Everything Forbidden with Apache on Redhat 6.2...
Date: Wed, 01 Nov 2000 10:10:50 GMT [thread overview]
Message-ID: <39FFEC29.B7751ED4@kc.rr.com> (raw)
In-Reply-To: QwEL5.4461$zO3.154156@stones
Is there anything out of the ordinary about the server configuration
file /etc/httpd/conf/httpd.conf? Specifically, I'd suspect that there
is a problem with a <Directory /(some path)> tag that is denying access.
This was the default on 1.3.9 i386:
<Directory />
Options Indexes Includes FollowSymLinks
AllowOverride None
</Directory>
<Directory /home>
Options Indexes Includes FollowSymLinks
AllowOverride All
order allow,deny
allow from all
</Directory>
<Directory /home/httpd/cgi-bin>
AllowOverride None
Options ExecCGI
</Directory>
<Directory /home/httpd/protected-cgi-bin>
order deny,allow
deny from all
allow from localhost
AllowOverride None
Options ExecCGI
</Directory>
Compare this to your setup and switch around the 'allow from all'
and 'deny from all' lines and see where that gets you.
I've also seen that by default PHP is not enabled, so try adding
lines like:
Include conf/addon-modules/mod_php3.conf
whose content is:
LoadModule php3_module /usr/lib/apache/libphp3.so
AddModule mod_php3.c
If you use PHP.
You obviously lost any virtual host information in the reinstall,
so you may have to rebuild that, too.
Hope this helps,
Tony Hammitt
Ian Wilkinson wrote:
>
> I've just reinstalled my entire system (Multia/UDB) with Redhat 6.2
>
> I've got most things working as I want them to, except Apache.
>
> No matter what computer I'm on, I get the message below when I try to look
> at any page. I've not changed the defaults, and I've double checked the
> permissions and they are fine (readable to everyone).
>
> Any help would be much appreciated...
>
> Thanks
>
> Ian.
> ########Error Message#######
>
> Forbidden
> You don't have permission to access / on this server.
>
> ----------------------------------------------------------------------------
> ----
>
> Apache/1.3.12 Server at xenophobe.sgtwilko.f9.co.uk Port 80
--
Doubt is not a pleasant condition, but certainty is absurd. -- Voltaire
prev parent reply other threads:[~2000-11-01 10:10 UTC|newest]
Thread overview: 2+ messages / expand[flat|nested] mbox.gz Atom feed top
2000-10-31 5:26 Everything Forbidden with Apache on Redhat 6.2 Ian Wilkinson
2000-11-01 10:10 ` Tony Hammitt [this message]
read-only archive
This is a public inbox, see mirroring instructions
for how to clone and mirror all data and code used for this inbox