Hi Nick, Thanks a lot for your advice. Actually I just wanna write my own filter. Just read the documents you pointed to, seems apache 2.0 has support for filter API. I think I can make use of it to write my own filter. Thanks, Yushui > Date: Tue, 9 Oct 2007 11:30:32 +0100 > From: nick@xxxxxxxxxxxx > To: users@xxxxxxxxxxxxxxxx > Subject: Re: [Help] How to change the content of response on the fly___ > > On Tue, 9 Oct 2007 03:42:54 +0000 > DuYushui <duyushui@xxxxxxxxxxx> wrote: > > > > > Hey Experts, User can write content handlers for the Apache > > response phase. My purpose is to write an Apache module to intervene > > all response right before the response write back to client. > > Your handler is pretty much illegible without formatting, but it > looks like a basic cgi- or php- style hack. What you're looking for > is a filter module. There are filters that will do what you want > at apache.webthing.com, and there are articles at apache.org, > apachetutor.org, and elsewhere. > > -- > Nick Kew > > Application Developm ent with Apache - the Apache Modules Book > http://www.apachetutor.org/ > > --------------------------------------------------------------------- > 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 > Windows Live Writer 让您告别龟速网络,轻松写日志! 立即使用! |