httpd-users mailing list archives

Site index · List index
Message view « Date » · « Thread »
Top « Date » · « Thread »
From Nick Kew <n...@webthing.com>
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" <pradeep_khopade@persistent.co.in> 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
standard.

-- 
Nick Kew

Application Development with Apache - the Apache Modules Book
http://www.apachetutor.org/

---------------------------------------------------------------------
The official User-To-User support forum of the Apache HTTP Server Project.
See <URL:http://httpd.apache.org/userslist.html> for more info.
To unsubscribe, e-mail: users-unsubscribe@httpd.apache.org
   "   from the digest: users-digest-unsubscribe@httpd.apache.org
For additional commands, e-mail: users-help@httpd.apache.org


Mime
View raw message