I'm trying to write a filter to add a banner to some HTML pages.

I have used the following definition:

ExtFilterDefine rebootbanner mode=output \
    intype=text/html outtype=text/html \
   cmd="add_banner.sh"

The script contents boil down to:

echo header
cat
echo footer

This works fine for some pages, however other pages fail to display in
a browser.
Turns out that the issue is that the input to the filter is sometimes gzipped.
The header causes issues for the browser display.

How can I ensure that the filter is run before the output is gzipped?

Alternatively, how can I detect when the input is not in plain text so
I can skip the banner?

Sebb.

---------------------------------------------------------------------
To unsubscribe, e-mail: users-unsubscr...@httpd.apache.org
For additional commands, e-mail: users-h...@httpd.apache.org

Reply via email to