Help writing a filter

2001-12-13 Thread Dwayne Miller

Where would I find examples and docs for writing a filter that could...

examine and potentially re-write form variables posted by client
examine and potentially re-write url variables posted by client
create some new cgi variables and publish them
do all of this before any other request processing module is run




Re: Help writing a filter

2001-12-13 Thread Eli Marmor

Dwayne Miller wrote:

 Where would I find examples and docs for writing a filter that could...

Read Ryan's series:
===
http://www.onlamp.com/pub/a/apache/2001/08/23/apache_2.html
http://www.onlamp.com/pub/a/apache/2001/09/13/apache_2.html
http://www.onlamp.com/pub/a/apache/2001/09/20/apache_2.html

There are attached samples:
===
http://www.onlamp.com/apache/2001/09/13/examples/mod_swap.c
http://www.ntrnet.net/~rbb/mod_apachecon.c

(the last one can't be followed from the link in the article; There is
a broken link at onLamp, so you must use the URL I gave here)

A reference about filters (!):
==
http://groups.yahoo.com/group/new-httpd/message/26052

Also, try to dig in http://httpd.apache.org/docs-2.0/developer/

And, the BEST resourse for filters, is...

...you guessed!  The sources, of course!

-- 
Eli Marmor
[EMAIL PROTECTED]
CTO, Founder
Netmask (El-Mar) Internet Technologies Ltd.
__
Tel.:   +972-9-766-1020  8 Yad-Harutzim St.
Fax.:   +972-9-766-1314  P.O.B. 7004
Mobile: +972-50-23-7338  Kfar-Saba 44641, Israel