LWP based proxy client (was: Is there a "PerlPreForkHandler"?)
[prev]
[thread]
[next]
[Date index for 2004/12/27]
In <2503.66.131.40.97.1104106731.fusewebmail-20072@xxx.xxxxxxxx.xxx>
on 26 Dec 2004, Patrick LeBoutillier <patl@xxxxxxxx.xxx> wrote:
> For those who are interested, I'm writing an open source universal
> HTTP tunnel (tunnel any TCP/IP protocol through HTTP). My plan is
> to use Apache/mod_perl2 as the backend and have a small LWP based
> proxy client.
In case you weren't aware of it, my (ancient) Apache::Gateway mod_perl
module is a gateway/proxy built on LWP and can therefore gateway the
common LWP protocols. (I'm hedging slightly because I don't think
mailto: was ever tested and because most people will want to disable
or otherwise prohibit access to file:// URLs.)
You are welcome to build upon or take useful code fragments from it.
In particular, you might find the header handling routines and reading
the comments about special cases useful.
-ccwf
--
Charles C. Fu
Founder
Web i18n, LLC
www.web-i18n.net
--
Report problems: http://perl.apache.org/bugs/
Mail list info: http://perl.apache.org/maillist/modperl.html
List etiquette: http://perl.apache.org/maillist/email-etiquette.html