Nagios/Apache Permissions Error

Matthew Richardson mrichardson at transim.com
Wed May 18 18:52:36 CEST 2005


Here is my Apache config for Nagios...


    ScriptAlias /nagios/cgi-bin/ "/usr/lib64/nagios/cgi/"
    <Directory "/usr/lib64/nagios/cgi/">
        Options ExecCGI
        AllowOverride AuthConfig
        Order allow,deny
        Allow from all
    </Directory>

    Alias /nagios/ "/usr/share/nagios/"
    <Directory "/usr/share/nagios/">
    </Directory>


Matthew Richardson
Transim Technology

-----Original Message-----
From: Marc Powell [mailto:marc at ena.com] 
Sent: Wednesday, May 18, 2005 9:15 AM
To: Prahalad H Achutharao; vincent at kenic.or.ke
Cc: Nagios Users List
Subject: RE: [Nagios-users] Nagios/Apache Permissions Error


> -----Original Message-----
> From: nagios-users-admin at lists.sourceforge.net [mailto:nagios-users- 
> admin at lists.sourceforge.net] On Behalf Of Prahalad H Achutharao
> Sent: Wednesday, May 18, 2005 11:11 AM
> To: vincent at kenic.or.ke
> Cc: Nagios Users List
> Subject: Re: [Nagios-users] Nagios/Apache Permissions Error
> 
> Even I have the same issue. Can someone shed some light on this.
Thanks


> Vincent Ngundi wrote:
> > Hi All,
> >


> > "You don't have permission to access /nagios/cgi-bin/ on this
server."
> >
> > The log files show:
> >
> > "[Wed May 18 18:42:31 2005] [error] [client x.x.x.x] attempt to
invoke
> > directory as script: /usr/local/nagios/sbin"


Did you both restart apache after adding the ScriptAlias directive?

--
Marc


-------------------------------------------------------
This SF.Net email is sponsored by Oracle Space Sweepstakes Want to be
the first software developer in space?
Enter now for the Oracle Space Sweepstakes!
http://ads.osdn.com/?ad_idt12&alloc_id344&op=ick
_______________________________________________
Nagios-users mailing list
Nagios-users at lists.sourceforge.net
https://lists.sourceforge.net/lists/listinfo/nagios-users
::: Please include Nagios version, plugin version (-v) and OS when
reporting any issue. 
::: Messages without supporting info will risk being sent to /dev/null




-------------------------------------------------------
This SF.Net email is sponsored by Oracle Space Sweepstakes
Want to be the first software developer in space?
Enter now for the Oracle Space Sweepstakes!
http://ads.osdn.com/?ad_idt12&alloc_id344&op=click
_______________________________________________
Nagios-users mailing list
Nagios-users at lists.sourceforge.net
https://lists.sourceforge.net/lists/listinfo/nagios-users
::: Please include Nagios version, plugin version (-v) and OS when reporting any issue. 
::: Messages without supporting info will risk being sent to /dev/null





More information about the Users mailing list