You are viewing a plain text version of this content. The canonical link for it is here.
Posted to users@httpd.apache.org by Nick Kew <ni...@webthing.com> on 2007/12/14 11:03:50 UTC
Re: [users@httpd] Content-length with 401 response.
On Fri, 14 Dec 2007 15:23:05 +0530
"Pradeep" <pr...@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