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
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
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
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
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
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,