CGI authentication problems
Paul Slinski
pauls at globaliqx.com
Fri Mar 21 22:54:41 CET 2003
Right, copying my .htaccess to /sbin fixed it. The docs only state that
it should be in /share...fixed now though. Thanks.
On a side note, I subscribed using a different email address but I'm
still able to post. Odd.
Thanks!
On Fri, 21 Mar 2003
22:43:27+0100 bauchi <lists at bauchi.de> opened up to us and said:
> PS> When I log in, my username/password is accepted by Apache's
> PS> process but Nagios says 'Logged in as ?' and thus I cannot do a
> PS> whole heck of a lot. I've configured the system to use my username
> PS> in the htpassword/contacts.cfg file. They match.
> PS> This is Apache 1.3.27 and Nagios 1.0
> PS> Does anyone have any suggestions?
> PS> TIA
>
> i've had the same probleme sometime ago
>
> the problem was, that to access to the cgi-bin directory no
> authentication was needed...
>
> we have nagios installed at /usr/local/nagios/
> the webroot is under share/ and the scripts are at sbin/ ..
>
> you can protect the /usr/local/nagios/ directory by configuring
> it something like this:
>
> <Directory "/usr/local/nagios" >
> AuthName "Nagios... please introduce yourself"
> AuthType Basic
> ... your favourite auth type (we use ldap)
> require valid-user
> ... other options to be configured
> </Directory>
>
> or you also protect the sbin/ directory itself, but then you might
> have to login twice, once for the normal html frameset and the nav bar
> and a second time for the scripts ...
>
> btw.. a standart rftm/read_your_webserver_logfile problem ;-)
>
> hope that helps ;)
>
--
Paul Slinski
System Administrator
Global IQX
http://www.globaliqx.com/
pauls at globaliqx.com
[ The information transmitted is intended only for the addressee ]
[ and may contain confidential, proprietary and/or privileged ]
[ material. Any unauthorized review, distribution or other use ]
[ of or the taking of any action in reliance upon this information ]
[ is prohibited. If you received this in error, please contact the ]
[ sender and delete or destroy this message and any copies. ]
-------------------------------------------------------
This SF.net email is sponsored by:Crypto Challenge is now open!
Get cracking and register here for some mind boggling fun and
the chance of winning an Apple iPod:
http://ads.sourceforge.net/cgi-bin/redirect.pl?thaw0031en
_______________________________________________
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