[CentOS] apache 403 forbidden problem.

Thu Oct 27 02:51:00 UTC 2005
Johnny Hughes <mailing-lists at hughesjr.com>

On Thu, 2005-10-27 at 04:32 +0800, Mark Quitoriano wrote:
> my mrtg.conf is in /etc/mrtg/
> 
> On 10/26/05, Tony Schreiner <schreian at bc.edu> wrote:
>         
>         On Oct 25, 2005, at 11:26 AM, Mark Quitoriano wrote:
>         
>         > Hi guys,
>         > 
>         > I'm using Centos 3.5 with Apache-2.0.46. i linke my mrtg
>         > from /var/www/mrtg to /var/www/html/mrtg so i did the
>         > command ln -s /var/www/mrtg. it worked fine last week but
>         > when i checked the mrtg today it say 403 forbidden.
>         > 
>         > 
>         > Forbidden
>         > You don't have permission to access /mrtg/ on this server.
>         > 
>         > 
>         > ____________________________________________________________
>         > Apache/2.0.46 (CentOS) Server
>         > 
>         > 
>         > 
>         > but when i tried to link the /var/www/mrtg to a different
>         > name it worked fine. i can see the mrtg. 
>         
>         
>         Do you have a mrtg.conf file in /etc/httpd/conf.d, and is it
>         restricting access?
>         Tony
>         

When I had this issue it was because selinux was enabled.  Is that
possibly your issue ... what does /etc/sysconfig/selinux say?
-------------- next part --------------
A non-text attachment was scrubbed...
Name: signature.asc
Type: application/pgp-signature
Size: 189 bytes
Desc: This is a digitally signed message part
URL: <http://lists.centos.org/pipermail/centos/attachments/20051026/5f4c8b62/attachment-0005.sig>