tomcat-users mailing list archives

Site index · List index
Message view « Date » · « Thread »
Top « Date » · « Thread »
From Christopher Schultz <ch...@christopherschultz.net>
Subject Re: response headers missing ?
Date Thu, 14 Jul 2011 14:38:27 GMT
-----BEGIN PGP SIGNED MESSAGE-----
Hash: SHA1

André,

On 7/14/2011 7:25 AM, André Warnier wrote:
> quote [...] I would also add that most of the sites are "dynamically"
> driven pages, even involving MySQL querying, but once launched, the
> data remains fairly static - eg GET X will always resolve to reponse
> Y.
> 
> [...]
> 
> I think for this problem, I have to treat tomcat as a little, rather 
> inefficient, black box and try to fixup on the apache front ends,
> hence the direction of my original idea...
> 
> unquote
> 
> One interesting suggestion here was to use the URLRewriteFilter.  I
> will pass that on to the mod_perl OP.

If the OP is willing to get into the Java world, it might be easier to
write a simpler filter, since I think URLRewriteFilter expects to, you
know, re-write the request and not just add headers.

If "GET X" always returns "response Y", then a simple use of mod_headers
ought to do the trick with no mucking-around in Java.

- -chris
-----BEGIN PGP SIGNATURE-----
Version: GnuPG v1.4.10 (MingW32)
Comment: Using GnuPG with Mozilla - http://enigmail.mozdev.org/

iEYEARECAAYFAk4e/2MACgkQ9CaO5/Lv0PD1zACgtXolM2lOnqrhvkIK78eGw1rV
d6sAoJfqDk53cBVyDQ2tTXJlqbui7GNz
=Fxm3
-----END PGP SIGNATURE-----

---------------------------------------------------------------------
To unsubscribe, e-mail: users-unsubscribe@tomcat.apache.org
For additional commands, e-mail: users-help@tomcat.apache.org


Mime
View raw message