httpd-dev mailing list archives

Site index · List index
Message view « Date » · « Thread »
Top « Date » · « Thread »
From Greg Stein <gst...@lyra.org>
Subject Re: cvs commit: httpd-2.0/modules/ssl ssl_engine_kernel.c
Date Fri, 08 Aug 2003 09:04:52 GMT
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.

Cheers,
-g

-- 
Greg Stein, http://www.lyra.org/

Mime
View raw message