Problem with cgi auth with apache2 and nagios2
Greg Vickers
g.vickers at qut.edu.au
Fri Sep 23 03:11:12 CEST 2005
Hi Gary,
Gary Spechko wrote:
> Until yesterday, I had a bare-bones nagios 2 working fine on apache 1.3
> - the .htaccess file was working, no problems - I tried to access a cgi,
> it asked for the uid/pwd, I provided them, and away we went.
>
> Yesterday I installed Nagios 2 on a system (SuSe 9.0) with apache2. I
> made all the appropriate changes to the httpd.conf file, added an
> .htaccess file to /usr/local/nagios/sbin and used htpasswd2 to create
> the authuserfile. When I try to access any of the CGI's I get
> 403:Forbidden - it never bothers to ask me for a uid/pwd pair.
If you are using the same username on these two servers but different
passwords, then the browser may be using the credentials from the first
instance. This may be too simple an observation, but I don't know.
You could also try removing all saved credentials in your browser.
> I've spent hours scouring the web for a solution (finding quite a few
> other people with the same problem, but no replies), I've spent hours in
> the apache IRC channel asking there… and now I'm coming to you.
>
> /var/log/apache2/access_log reports 403 1016 (I assume 1016's the error
> code for the 403 denied message)
> /var/log/apache2/error_log reports: client denied by server
> configuration: /user, referer: _http://blah/side.htm_ (where blah is my
> server)
HTH,
--
Greg Vickers
Project Manager, IT Security
Information Technology Services
Queensland University of Technology
L12, 126 Margaret St, Brisbane
Phone: (07) 3864 9536
Email: g.vickers at qut.edu.au
IT Security web site: http://www.its.qut.edu.au/itsecurity/
CRICOS No. 00213J
-------------------------------------------------------
SF.Net email is sponsored by:
Tame your development challenges with Apache's Geronimo App Server.
Download it for free - -and be entered to win a 42" plasma tv or your very
own Sony(tm)PSP. Click here to play: http://sourceforge.net/geronimo.php
_______________________________________________
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