Greetings all, CGI access problem

Clair Johnson clair at practeo.ch
Wed Jan 13 11:20:30 CET 2010


Thanks all for the help.

I've found what my problem was. The installation of the new version created a sample conf file in apache2 conf.d folder witch overridden my original web server configuration.

I've deleted this sample and everything went back to normal.

Many thanks to everybody

Kind regards 
Clair Johnson

-----Message d'origine-----
De : Marc Powell [mailto:marc at ena.com] 
Envoyé : mardi 12 janvier 2010 14:48
À : Nagios Mailinglist
Objet : Re: [Nagios-users] Greetings all, CGI access problem


On Jan 12, 2010, at 5:14 AM, Clair Johnson wrote:

> I've check the cgi config file and change the use_authentication to 0 but that doesn't change anything, when I call the CGI in my browser I'm still asked for credentials.

Nagios doesn't present the authentication dialog, your web server does. This parameter only controls whether nagios pays attention to the username it gets from your web server.

> My apache configuration hasn't changed and was working in nagios 2.9.
>  
> Do you have ideas how to solve my problem, that is to use nagios CGIs without any authentication ?

You have htaccess enabled in your web server, either in it's config file (httpd.conf if using apache) or via a .htaccess file in the nagios sbin directory. If in httpd.conf, remove things like AuthType, AuthUserFile, etc related to nagios. If you find a .htaccess file, remove it or rename it.

If you need more specific information, detail the steps you took during your upgrade, what OS you are using, what web server you are using and any guides you might have used during installation.

--
Marc
------------------------------------------------------------------------------
This SF.Net email is sponsored by the Verizon Developer Community
Take advantage of Verizon's best-in-class app development support
A streamlined, 14 day to market process makes app distribution fast and easy
Join now and get one step closer to millions of Verizon customers
http://p.sf.net/sfu/verizon-dev2dev 
_______________________________________________
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 the Verizon Developer Community
Take advantage of Verizon's best-in-class app development support
A streamlined, 14 day to market process makes app distribution fast and easy
Join now and get one step closer to millions of Verizon customers
http://p.sf.net/sfu/verizon-dev2dev 
_______________________________________________
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