Thanks a lot, Joe!
--- Joe Lewis [EMAIL PROTECTED] wrote:
John Zhang wrote:
Joe,
Thanks for you rreply, but I do not quite
understand Your filter should run before the
content
type is set. Could you elaberated on that? My
filter
is an output filter.
The filter types are
Joe,
Thanks for you rreply, but I do not quite
understand Your filter should run before the content
type is set. Could you elaberated on that? My filter
is an output filter.
Also, if I issue a redirect in my (output) filter
to (say /errors/HTTP_FORBIDDEN.html) and I am a filter
for
John Zhang wrote:
Joe,
Thanks for you rreply, but I do not quite
understand Your filter should run before the content
type is set. Could you elaberated on that? My filter
is an output filter.
The filter types are AP_FTYPE_ (followed by one of the following )
RESOURCE, CONTENT_SET,
Your filter should run before the content type is set. Then, you can do
the usual redirect to /errors/HTTP_FORBIDDEN.html or whatever document
you should be returning. Yes, a filter should only be working on the
through-put, so you should be handling that. Perhaps someone knows
about the