httpd-dev mailing list archives

Site index · List index
Message view « Date » · « Thread »
Top « Date » · « Thread »
From "Sander Striker" <stri...@apache.org>
Subject RE: cvs commit: httpd-2.0/modules/ssl ssl_engine_kernel.c
Date Fri, 08 Aug 2003 09:16:26 GMT
> From: Greg Stein [mailto:gstein@lyra.org]
> Sent: Friday, August 08, 2003 11:05 AM

> On Thu, Aug 07, 2003 at 11:57:12PM -0000, striker@apache.org wrote:
> >...
> >   +++ ssl_engine_kernel.c	7 Aug 2003 23:57:11 -0000	1.98
> >   @@ -880,6 +880,8 @@
> >                password = auth_line;
> >    
> >                if ((username[0] == '/') && strEQ(password, "password"))
{
> >   +                ap_log_error(APLOG_MARK, APLOG_ERR, 0, r->server,
> >   +                 "Encountered FakeBasicAuth spoof: %s", username);
> >                    return HTTP_FORBIDDEN;
> >                }
> 
> Hmm. You have a request_rec there. How about:
> 
>    ap_log_rerror(APLOG_MARK, APLOG_ERR, 0, r,
>                  "Encountered FakeBasicAuth spoof: %s", username);
> 
> Providing the request means that you get more information in the error_log.

Duh.  Thx,


Sander.

Mime
View raw message