-BEGIN PGP SIGNED MESSAGE-
Hash: SHA1
André,
André Warnier wrote:
I am using a Tomcat java application which unfortunately sets the
Content-Type response header wrongly : it says text/html;
charset=iso-8859-1 instead of text/html; charset=iso-8859-2, and
there is no way I can change
-BEGIN PGP SIGNED MESSAGE-
Hash: SHA1
André,
André Warnier wrote:
- the only viable solution in my case is thus to make sure that the
Tomcat servlet issues the correct Content-Type header in the first
place. If the servlet itself cannot be modified, then a servlet filter
wrapping
Rainer Jung wrote:
On 31.12.2008 10:08, André Warnier wrote:
Juha Laiho wrote:
[...]
Thanks, Juha. That helps me think in another direction.
Maybe indeed in this case the mod_headers module does not get a chance
to modify the response headers, because it is added before the mod_jk
module, and
André Warnier wrote:
As a separate question : how does Apache (or mod_jk) exactly arrange to
do that (not allow mod_headers to change the response headers set by
Tomcat) ?
The answer may help me decide whether I can/want to try writing my own
mod_perl response header modification handler (or
Juha Laiho wrote:
[...]
Thanks, Juha. That helps me think in another direction.
Maybe indeed in this case the mod_headers module does not get a chance
to modify the response headers, because it is added before the mod_jk
module, and mod_jk overrides it.
It is worth investigating anyway, since
On 31.12.2008 10:08, André Warnier wrote:
Juha Laiho wrote:
[...]
Thanks, Juha. That helps me think in another direction.
Maybe indeed in this case the mod_headers module does not get a chance
to modify the response headers, because it is added before the mod_jk
module, and mod_jk overrides it.
Hi.
The following is verbatim what I posted earlier on the Apache user's
list. I am reposting it here because I did not really get a
satisfactory answer on the Apache httpd list, and because I know that
mod_jk experts lurk around here. And maybe this has something to do with
the fact that
André,
when using mod_jk, Apache HTTPD will not change any headers sent from
Tomcat, even if you use mod_headers.
Since mod_jk is delegating the whole request to Tomcat, this behaviour
is expected, though debatable.
Writing a filter to change your headers in Tomcat is no big deal, the
link
Gregor Schneider wrote:
André,
when using mod_jk, Apache HTTPD will not change any headers sent from
Tomcat, even if you use mod_headers.
Since mod_jk is delegating the whole request to Tomcat, this behaviour
is expected, though debatable.
Writing a filter to change your headers in Tomcat is
Hi André,
On Tue, Dec 30, 2008 at 10:25 PM, André Warnier a...@ice-sa.com wrote:
My only doubt at this stage, is that if the wrapped servlet itself sets the
(wrong) Content-Type header, it might overwrite the one I set before the
doFilter(), no ?
you might have to give it a try
As a
10 matches
Mail list logo