help

Patrick Price pprice32 at yahoo.com
Wed Aug 11 16:35:02 CEST 2004


Hello could you please point me in the right direction
I would like to use the nagiosweb-2.x to configure it
but am having trouble with Authentication

I have compiled nagios on linux redhat 9 running
Apache 2.0. Everything seems to be going right until I
create the .htaccess files in the root of the CGI dir.
just as the docs say to do they look like this 

AuthName "Nagios Access"
AuthType Basic
AuthUserFile /usr/local/nagios/etc/htpasswd.users
require valid-user

I then created a user called nagiosadmin and set the
password. I type in the URL and it prompts for Nagios
Access username and password. I type it in and it
flashes and prompts again like I typed in the wrong
credentials. I then looked at my httpd.conf it looks
like this 
#
ScriptAlias /nagios/cgi-bin/ /usr/local/nagios/sbin/
<Directory "/usr/local/nagios/sbin">
AllowOverride AuthConfig
Options ExecCGI
Order allow,deny
Allow from all
</Directory>
                                                      
                         
<Directory /usr/local/nagios/sbin>
AllowOverride AuthConfig
order allow,deny
Allow from all
Options ExecCGI
</Directory>
                                                      
                         
Alias /nagios/ /usr/local/nagios/share/
<Directory "/usr/local/nagios/share">
Options ExecCGI
AllowOverride AuthConfig
Order allow,deny
Allow from all
</Directory>

<Directory /usr/local/nagios/share>
AllowOverride AuthConfig
Options ExecCGI
order allow,deny
allow from all
</Directory>
                                                      
                         
I changed it around and around and back but no luck. I
have RTFM

If there is anything you can do to help it would be
most appreciated, also if you need any other info I
can supply it. I have be trying to get it working for
3 weeks.

Thanks
Patrick




	
		
__________________________________
Do you Yahoo!?
New and Improved Yahoo! Mail - 100MB free storage!
http://promotions.yahoo.com/new_mail 


-------------------------------------------------------
SF.Net email is sponsored by Shop4tech.com-Lowest price on Blank Media
100pk Sonic DVD-R 4x for only $29 -100pk Sonic DVD+R for only $33
Save 50% off Retail on Ink & Toner - Free Shipping and Free Gift.
http://www.shop4tech.com/z/Inkjet_Cartridges/9_108_r285
_______________________________________________
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