Authentication Problems
Dave Barnum
dave at leaplab.com
Thu Apr 22 21:41:59 CEST 2004
Sorry, didn't mean to send that without some more info
Here's my /usr/local/share/nagios/.htaccess file
AuthName "Nagios Access"
AuthType Basic
AuthUserFile /usr/local/etc/nagios/htpasswd.users
require valid-user
And i setup the htpasswd.users file with htpasswd -c
/usr/local/nagios/etc/htpasswd.users nagiosadmin
When i'm browsing the page.. even when i'm getting errors.. I'm logged
in as "nagiosadmin" so it did let me log in and everything.. i don't
know what's up.
All the appropriate directories are owned by "nagios" and have
appropriate permissions.
Here is the nagios section of my httpd.conf..
###
###Nagios
ScriptAlias /nagios/cgi-bin/ "/usr/local/share/nagios/cgi-bin/"
<Directory "/usr/local/share/nagios/cgi-bin/">
AllowOverride AuthConfig
Options ExecCGI
Order allow,deny
Allow from all
</Directory>
###
Alias /nagios/ "/usr/local/share/nagios/"
<Directory "/usr/local/share/nagios">
Options None
AllowOverride AuthConfig
Order allow,deny
Allow from all
</Directory>
###
###
-------------------------------------------------------
This SF.net email is sponsored by: The Robotic Monkeys at ThinkGeek
For a limited time only, get FREE Ground shipping on all orders of $35
or more. Hurry up and shop folks, this offer expires April 30th!
http://www.thinkgeek.com/freeshipping/?cpg=12297
_______________________________________________
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