httpd-users mailing list archives

Site index · List index
Message view « Date » · « Thread »
Top « Date » · « Thread »
From Devraj Mukherjee <>
Subject Re: [users@httpd] Appending or replacing html/text output
Date Wed, 13 Jan 2010 04:06:49 GMT
If you are using Apache 2.x then mod_substitute is your friend.

2010/1/12 Sam Minning <>:
> hello apache community,
> I am using Apache 2.2, combined with PHP via fastcgi
> Additionally there is mod_deflate in use, as well as gzip-compression via
> PHP.
> I would like to append a string and/or replace the body-tag of any served
> document, no matter if it is plain .html or parsed .php and no matter
> whether
> GZIP is enabled at PHP. mod_deflate is always used by default.
> The idea is to replace the closing body-tag of any document and if there is
> none
> found, to append one, with some additional text.
> I have tried several modules, e.g. mod_substitute or similar, but none was
> able to fit my needs, mostly not supported compression from mod_deflate or
> gzip caused problems, so I was unable to implement this at all.
> Maybe there are some modules, even unofficial ones, out there I do not know
> of, which could solve this issue. Any ideas about such modules or any
> suggestions
> on how to accomplish this?
> thanks very much in advance,
> Sam
> ________________________________
> Windows Live: Make it easier for your friends to see what you’re up to on
> Facebook.

Follow me on Twitter,

"The secret impresses no-one, the trick you use it for is everything"
- Alfred Borden (The Prestiege)

The official User-To-User support forum of the Apache HTTP Server Project.
See <URL:> for more info.
To unsubscribe, e-mail:
   "   from the digest:
For additional commands, e-mail:

View raw message