Authentication problem (apache basic)

Brad Clemmons Jr brad.clemmons at gmail.com
Fri Jun 2 19:41:39 CEST 2006


Well, the only time I see myself in the error.log is if I fatfinger the
password.  Although, looking at the access.log I see when I get to the
initial page and log in (see the get requests for the html stuff from the
side bar):
xxx.xxx.xxx.xxx - myusername [02/Jun/2006:12:38:21 -0400] "GET
/nagios/images/orangedot.gif HTTP/1.1" 304 - "
http://xxx.xxx.xxx.xxx/nagios/side.html" "Mozilla/4.0 (compatible; MSIE 6.0;
Windows NT 5.1; SV1; .NET CLR 1.1.4322)" "-"
I don't see my username after clicking on any of the cgi's, but I do see the
cgi request in the access log:
xxx.xxx.xxx.xxx - - [02/Jun/2006:12:38:24 -0400] "GET
/opt/nagios/cgi-bin/tac.cgi HTTP/1.1" 200 11961 "
http://xxx.xxx.xxx.xxx/nagios/side.html" "Mozilla/4.0 (compatible; MSIE 6.0;
Windows NT 5.1; SV1; .NET CLR 1.1.4322)" "-"


-brad

On 6/2/06, Hugo van der Kooij <hvdkooij at vanderkooij.org> wrote:

> On Thu, 1 Jun 2006, Brad Clemmons Jr wrote:
>
> > Thanks, I tried both, but still no luck.  I added the auth lines to the
> > /share share dir too.  I also tried Patrick's AllowOverride.  I now get
> a
> > login prompt when I go to my main nagios page (
> http://nnn.nnn.nnn.nnn/nagios),
> > but it doesn't appear to pass along to the CGI's or nagios can't figure
> it
> > out.  The authentication now works for the html (the /share stuff) as it
> > let's me log in.  If I then click on any of the cgi links, etc... I get
> the
> > "you do not have permission" messages.  I also still have the "Logged in
> as:
> > ?" at the top of the pages (like the tac overview page).
>
> Check your apache logs. Do you see you username in the logs on the CGI
> requests too?
>
> Hugo.
>
> --
>        I hate duplicates. Just reply to the relevant mailinglist.
>        hvdkooij at vanderkooij.org                http://hvdkooij.xs4all.nl/
>                Don't meddle in the affairs of magicians,
>                for they are subtle and quick to anger.
>
>
> _______________________________________________
> 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
>



-- 
The only way to defeat a monster is to BECOME ONE!

If you attack me, know this:  I train for only two options; Incapacitate and
Terminate...PERIOD!

Quit touting Democracy you ignorant fool!  Democracy is two Wolves and a
Lamb voting on what to have for lunch.  Liberty is a well-armed Lamb
contesting the vote!
-------------- next part --------------
An HTML attachment was scrubbed...
URL: <https://www.monitoring-lists.org/archive/users/attachments/20060602/ef5ca59e/attachment.html>
-------------- next part --------------
_______________________________________________
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