Forum Moderators: phranque

Message Too Old, No Replies

Output filter query

Output filter query

         

CraigMyers

12:17 am on Jul 3, 2005 (gmt 0)

10+ Year Member



With Apache 1.3 how would one go about, creating / pluging in. an output filter, that worked pre-client deliver, and post other handlers, ie after php has processed etc. and modify content on the fly?

jdMorgan

2:57 am on Jul 6, 2005 (gmt 0)

WebmasterWorld Senior Member 10+ Year Member



Generally, by adding a "wrapper" around all content -- a script which reads in the content for all requests, modifies the content as needed, and outputs the result. As such, it acts as a universal content-handler, mostly replacing Apache's content-handling.

If you have a busy site, I'd suggest writing this in C or another very efficient compiled language, rather than trying to use common scripting (interpreted) languages. Otherwise you may find your site to be dog-slow.

Jim

CraigMyers

9:16 pm on Jul 6, 2005 (gmt 0)

10+ Year Member



Hi there,

Thank you Jim for your reply that is very interesting indeed. I was wondering if there was any ready made scripts for this purpose? I have done a google and found lots of CGI wrappers, but they are not made specifically for adding a advert banners.

Can anyone help with a url or a name of a script for this job?