Re: Header set & WWW-Authenticate

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

 



On 9/26/07, Pieter Vanmeerbeek <pieter@xxxxxxxxxxxxxxx> wrote:

> Header edit WWW-Authenticate: ^NTLM dummy
>
>
> Unfortunatly doing this results in removal of all WWW-Authenticate headers
> except for the Negotiate instead of modification of the headers.
> Headers sent to client :
> WWW-Authenticate: Negotiate
>
>
> Can anyone help me and tell me what I'm doing wrong?

The problem is that, in HTTP, multiple identical headers are
equivalent to a single header with all the values folded together. So
I don't believe there is a way in apache to target just one of the
headers. Why don't you instead try something like

SetEnvIf WWW-Authenticate NTLM gotntlm=yes
Header set WWW-Authenticate Basic realm="x.x.x.x" env=gotntlm

Joshua.

---------------------------------------------------------------------
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