This is a discussion on RE: HTTP Proxy using MOD_PERL - modperl ; Charles, Thanks for the information. I will surely take a look at mod_proxy in detail. I believe I would still need to use mod_perl to invoke the perl script I have to do the processing.=20 So if I understand, I ...
Thanks for the information. I will surely take a look at mod_proxy in
detail. I believe I would still need to use mod_perl to invoke the perl
script I have to do the processing.=20
So if I understand, I could use mod_proxy and mod_perl in conjunction
with each other. MOD_PROXY would provide me with filtering capabilities
while MOD_PERL would let me invoke perl script to do the processing.
Please correct me if I am wrong.
> -----Original Message-----
> From: Charles Bueche [mailto:email@example.com]=20
> Sent: Wednesday, September 06, 2006 10:30 AM
> To: Sumit Shah
> Cc: firstname.lastname@example.org
> Subject: Re: HTTP Proxy using MOD_PERL
> chapter 7 of http://www.oreilly.com/catalog/wrapmod/ has=20
> something, but it is outdated.
> If I understand your need correctly, you could use the normal=20
> mod_proxy module and filter your input and/or output using=20
> Apache 2 filters.
> I us this to make the wildest things, including fixing=20
> non-proxy-aware applications in reverse-proxy configs. Check=20
> the numerous O'Reilly articles on filters.
> Sumit Shah wrote:
> > Hello,
> > I am very new to MOD_PERL. I am trying to a create a proxy=20
> in Apache=20
> > using MOD_PERL. I have a perl script that takes an HTTP request=20
> > parameter as input and returns appropriate result. I am trying to:
> > --> get a handle to the HTTP request object, filter it based on=20
> > --> static/dynamic content, then invoke this perl script using HTTP=20
> > --> request parameter, Forward the request
> > I would appreciate if anyone could point me to the documentation or=20
> > suggest ways to achieve this.
> > Thanks
> > Sumit
> Charles Bueche
> sand, snow, wave, wind and net -surfer