CGI Authoristaion problem (and yes I have read the FAQ)
Stephen Patterson
stephen.patterson at cjgarland.com
Wed Dec 10 16:16:59 CET 2003
Hi all
I've just recently installed nagios and am having a problem accessing
the CGI reports when logged in as the default nagiosadmin user, all the
CGIs report that I don't have permission to access them.
I've checked the authentication options referred to in FAQ 0048, and
they all appear OK. I've also added the nagiosadmin user to all of my
contact groups. Everything else appears to work jsut fine: my hosts are
monitored to a database, and there are no errors in either the Apache or
the Nagios log files.
This is the apache config I'm using.
<DirectoryMatch /usr/lib/cgi-bin/nagios/>
Options ExecCGI
AllowOverride AuthConfig
Order Allow,Deny
Allow From All
AuthName "Nagios Access"
AuthType Basic
AuthUserFile /etc/nagios/htpasswd.users
require valid-user
</DirectoryMatch>
Alias /netsaint /usr/share/nagios/htdocs/
Alias /nagios /usr/share/nagios/htdocs/
<DirectoryMatch /usr/share/nagios/htdocs/>
Options FollowSymLinks
AllowOverride AuthConfig
Order Allow,Deny
Allow From All
AuthName "Nagios Access"
AuthType Basic
AuthUserFile /etc/nagios/htpasswd.users
require valid-user
</DirectoryMatch>
Does anyone have any suggestions?
________________________________________________________________________
CJ GARLAND & CO LIMITED DISCLAIMER
This e-mail and any files transmitted with it is confidential and intended solely for the use of the individuals or organisations to whom it is addressed. If you are not the intended recipient you must not open any attachment, copy, distribute or disseminate the information nor take any action on the basis of it; please notify the sender and delete the original e-mail from your system(s). Opinions and conclusions expressed in this e-mail are those of the author and are not necessarily those of CJ Garland & Co Limited unless otherwise indicated by an authorised representative independently of this message. Copyright in this e-mail and any attachments remains with CJ Garland & Co Limited. This message has been scanned for known viruses by MessageLabs E-mail Security System on behalf of CJ Garland & Co Limited. Recipients are strongly advised to check for the latest viruses upon receipt. N
o responsibility is taken by the sender for any loss incurred as a result of virus infection or other destructive elements.
-------------------------------------------------------
This SF.net email is sponsored by: SF.net Giveback Program.
Does SourceForge.net help you be more productive? Does it
help you create better code? SHARE THE LOVE, and help us help
YOU! Click Here: http://sourceforge.net/donate/
_______________________________________________
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