Hi.
I have a peculiar problem, and need a peculiar solution.
In an Apache 2.2.3, mod_jk, Tomcat 5.5.x, mod_perl2, perl 5.8.8, Linux
environment, some links are being re-directed by Apache via mod_jk, to a
back-end Tomcat server, and a webapp running in that server.
For reasons that are off-to
André Warnier wrote:
One of my questions is thus : assuming I keep adding this custom
header "Test-Header" via mod_headers, will it be visible by the
HTTPHeadersFixup subclass I create and configure ?
Its an output connection filter, so I can't imagine it wouldn't work as
you expect.
if yes,
As a complement to this thread, I would like to reproduce an answer
received on the Tomcat list, from Rainer Jung, the developer/maintainer
of the mod_jk module.
It explains why I wasn't (and can't) get any success doing what I wanted
with either mod_headers or a mod_perl connection output filte
On Thu 01 Jan 2009, André Warnier wrote:
> Unfortunately the Content-Type header is a different beast. Inside
> Apache it is not only a response header, but a more complex data
> type. You can set a different Content-Type header with mod_headers,
> but since the internal structure remains unchanged
Torsten Foertsch wrote:
[...]
Try to create
- a request output filter
that I can do
- that sets $r->content_type,
that sounds easy
- removes itself
that, I'm not quite sure how to go about it
- and returns DECLINED.
that is also easy
But thanks anyway. If that works, it would be a lot ea
Torsten Foertsch wrote:
On Thu 01 Jan 2009, André Warnier wrote:
Unfortunately the Content-Type header is a different beast. Inside
Apache it is not only a response header, but a more complex data
type. You can set a different Content-Type header with mod_headers,
but since the internal structur
On Thu 01 Jan 2009, André Warnier wrote:
> It works perfectly, even without having the filter remove itself
> (which I did not know how to do).
http://perl.apache.org/docs/2.0/api/Apache2/Filter.html#C_remove_
Torsten
--
Need professional mod_perl support?
Just hire me: torsten.foert...@gmx.net