[CentOS] apache 403 forbidden problem.

Thu Oct 27 16:38:32 UTC 2005
Colht, Charles <Charles.Colht at acsalaska.com>

In CentOS 3, look for mrtg.conf in /etc/httpd/conf.d. This file
configures /mrtg for localhost access only. Change the 'Allow from' line
to something sensible and it should work. That drove me nuts for a while
until I found it.

Chuck 

-----Original Message-----
From: centos-bounces at centos.org [mailto:centos-bounces at centos.org] On
Behalf Of Johnny Hughes
Sent: Thursday, October 27, 2005 4:01 AM
To: CentOS ML
Subject: Re: [CentOS] apache 403 forbidden problem.

On Thu, 2005-10-27 at 12:20 +0200, Ralph Angenendt wrote:
> Johnny Hughes wrote:
> > On Thu, 2005-10-27 at 04:32 +0800, Mark Quitoriano wrote:
> > >         > Forbidden
> > >         > You don't have permission to access /mrtg/ on this
server.
> > >         
> > 
> > When I had this issue it was because selinux was enabled.  Is that
> > possibly your issue ... what does /etc/sysconfig/selinux say?
> 
> SELinux on CentOS 3.x? Apache 2.0.46 does hint at that - as does the
> first mail by Mark.
> 
> Ralph

You are correct ... I did read that before, but overlooked it.

If using CentOS-3.x and httpd from there then selinux is not available.

If on CentOS-4.x then selinux might be an issue.

***********************************************************************************
This transmittal may contain confidential information intended solely for
the addressee. If you are not the intended recipient, you are hereby
notified that you have received this transmittal in error; any review,
dissemination, distribution or copying of this transmittal is strictly
prohibited. If you have received this communication in error, please notify
us immediately by reply or by telephone (collect at 907-564-1000) and ask to
speak with the message sender. In addition, please immediately delete this
message and all attachments. Thank you. ACS