2-0b5 authentication

Aleksey Tsalolikhin aleksey.tsalolikhin at gmail.com
Fri Dec 9 08:54:04 CET 2005


On 12/9/05, Prashant Nadgir <prashant at mac-india.com> wrote:
> i tried to access http:./. /nagios browser is prompting for user name and
> passwd
> although i enter correct user name and passwd,i am getting "authentication
> failed or bad passwd "
>
>
> I have created .htaccess in /usr/local/nagios/sbin directory.
> I have also put the same file in /usr/local/nagios/share folder
>
> htaccess file.AuthName "Nagios Access"
AuthType Basic
AuthUserFile
> /usr/local/nagios/etc/htpasswd.users
require valid-user
>
> htpasswd  /usr/local/nagios/etc/htpasswd.users nagiosadmin
>
> thanks in advance
> Prashant
>

Do you have AllowOverride enabled in your Web server config?

Check out http://httpd.apache.org/docs/2.0/howto/auth.html

Aleksey


-------------------------------------------------------
This SF.net email is sponsored by: Splunk Inc. Do you grep through log files
for problems?  Stop!  Download the new AJAX search engine that makes
searching your log files as easy as surfing the  web.  DOWNLOAD SPLUNK!
http://ads.osdn.com/?ad_idv37&alloc_id865&op=click
_______________________________________________
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