Nagios and .htaccess
Greetings,
I'm running a bunch of web-sites on Apache web-server box (server1). There is also Nagios server on another machine and it checks http availability of our web-server (server1). I've had to implement authorization on one of our subdomains via ".htaccess" on server1 and now Nagios can't access http service on that server ( HTTP WARNING: HTTP/1.1 401 Authorization Required). When I specify explicitly "http_check" parameters, providing username and password, it works fine. But, I guess, it's not the right way to make it work, huh? When I try to turn off ".htaccess" for particular Virtual Host by setting "AllowOverride" directive to None, I'm getting the same "401" error message in Nagios server logs. What I'm doing wrong?
|