James Ng wrote:
...
But when I tried to set the P3P in the response header of every response using
this rule, it wasn't successful.
<rule>
<from>.*</from>
<set type="response-header" name="P3P">CP="NOI DSP COR"</set>
</rule>
I monitored my response headers and the P3P are not set.
I have tried several different variation of my rule in the off chance that it
was a simple syntax mismatch e.g. trying without the CP, without the quotes etc.
The documentation says : A "rule" must contain a "from" and a "to", and can have zero or
more "condition" elements and zero or more and/or "set" elements.
So what happens when you try :
> <rule>
>
> <from>^(.*)$</from>
<to>$1</to>
> <set type="response-header" name="P3P">CP="NOI DSP COR"</set>
>
> </rule>
---------------------------------------------------------------------
To unsubscribe, e-mail: users-unsubscr...@tomcat.apache.org
For additional commands, e-mail: users-h...@tomcat.apache.org