Hi,
I have a use case where depending upon the value of a response header,
I need to replace it with difference values.
For eg. The HTTP header name is A with value B
Now if B=xyz, replace B with abc < header would become A: abc>
else if B= uvw replace B with def. < header would become A: def>
I have tried using reply_header_replace, but its not able to satisfy
this if-else requirement.
Had there been only a single replacement, then using
'reply_header_access A deny xyz' followed by 'reply_header_replace A
abc' would have worked.
Can i get some suggestions over how to solve this problem? Is using an
external acl the way to go or there is some simpler way to implement
the if-else over ACLs (AFAIK if-else statements work on predefined
macros)?
Thanks,
Abhay
Received on Fri Oct 19 2012 - 09:32:36 MDT
This archive was generated by hypermail 2.2.0 : Fri Oct 19 2012 - 12:00:05 MDT