httpd-users mailing list archives

Site index · List index
Message view « Date » · « Thread »
Top « Date » · « Thread »
From Nick Kew <>
Subject Re: [users@httpd] Content-length with 401 response.
Date Fri, 14 Dec 2007 10:03:50 GMT
On Fri, 14 Dec 2007 15:23:05 +0530
"Pradeep" <> wrote:

> We have implemented a filter on Apache web server to force the basic
> authentication for all the resources in the doc root folder. 

Why would you use a filter for that?

> As per the RFC, we need to return 401 response to any request for a
> file in doc root folder. 
> Currently we are returning WWW-Authenticate as a mandatory field and
> some other optional fields. 

You're clearly reinventing the wheel.  Apache does all of this as

Nick Kew

Application Development with Apache - the Apache Modules Book

The official User-To-User support forum of the Apache HTTP Server Project.
See <URL:> for more info.
To unsubscribe, e-mail:
   "   from the digest:
For additional commands, e-mail:

View raw message