Re: Content-length with 401 response.

[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]

 



On Fri, 14 Dec 2007 15:23:05 +0530
"Pradeep" <pradeep_khopade@xxxxxxxxxxxxxxxx> 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@xxxxxxxxxxxxxxxx
   "   from the digest: users-digest-unsubscribe@xxxxxxxxxxxxxxxx
For additional commands, e-mail: users-help@xxxxxxxxxxxxxxxx


[Index of Archives]     [Open SSH Users]     [Linux ACPI]     [Linux Kernel]     [Linux Laptop]     [Kernel Newbies]     [Security]     [Netfilter]     [Bugtraq]     [Squid]     [Yosemite News]     [MIPS Linux]     [ARM Linux]     [Linux Security]     [Linux RAID]     [Samba]     [Video 4 Linux]     [Device Mapper]

  Powered by Linux