2011/1/18 James Ng <james...@ignitesales.com>: > 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.
Do you observe any pattern in which responses have the headers and which do not? For me a caveat was that the URI must match not only the urirewrite rules, but also the filter mapping in web.xml, where this filter is defined. Note, that you can turn on debug logging in url rewrite -- see "logLevel" in the docs. 2011/1/18 André Warnier <a...@ice-sa.com>: > 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. I used from + set without "to" and it worked. Best regards, Konstantin Kolinko --------------------------------------------------------------------- To unsubscribe, e-mail: users-unsubscr...@tomcat.apache.org For additional commands, e-mail: users-h...@tomcat.apache.org