Re: Appending or replacing html/text output

[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]

 



If you are using Apache 2.x then mod_substitute is your friend.

2010/1/12 Sam Minning <samming@xxxxxxxx>:
> 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, http://twitter.com/mdevraj

"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:http://httpd.apache.org/userslist.html> for more info.
To unsubscribe, e-mail: users-unsubscribe@xxxxxxxxxxxxxxxx
   "   from the digest: users-digest-unsubscribe@xxxxxxxxxxxxxxxx
For additional commands, e-mail: users-help@xxxxxxxxxxxxxxxx



[Index of Archives]     [Open SSH Users]     [Linux ACPI]     [Linux Kernel]     [Linux Laptop]     [Kernel Newbies]     [Security]     [Netfilter]     [Bugtraq]     [Squid]     [Yosemite News]     [MIPS Linux]     [ARM Linux]     [Linux Security]     [Linux RAID]     [Samba]     [Video 4 Linux]     [Device Mapper]

  Powered by Linux