Issues writing to request headers

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

 



Hi All in the httpd.conf below I am trying to rewrite REMOTE_USER (which I know is there since if I Header add REMOTE_USER it ends up in response headers seen in wireshark cap or firebug)

I need to have it show in the response headers so I can authenticate to a tomcat app any way I can confirm it is getting written or not written?

 

 

<Location /SASLogon/login>

Options +Includes

AuthType CAS

Require valid-user

RequestHeader append MirrorID "mirror 12"

RewriteEngine On

RewriteCond %{LA-U:REMOTE_USER} (.+)

RewriteRule . - [E=RU:%1]                  

RequestHeader add X-Remote-User %{RU}e env=RU

RequestHeader append X-Remote-User %{RU}e env=RU

</Location>

 


[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