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. 

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.

Thanks
Sumit

> -----Original Message-----
> From: Charles Bueche [mailto:[EMAIL PROTECTED] 
> Sent: Wednesday, September 06, 2006 10:30 AM
> To: Sumit Shah
> Cc: modperl@perl.apache.org
> Subject: Re: HTTP Proxy using MOD_PERL
> 
> Hi,
> 
> chapter 7 of http://www.oreilly.com/catalog/wrapmod/ has 
> something, but it is outdated.
> 
> If I understand your need correctly, you could use the normal 
> mod_proxy module and filter your input and/or output using 
> Apache 2 filters.
> 
> I us this to make the wildest things, including fixing 
> non-proxy-aware applications in reverse-proxy configs. Check 
> the numerous O'Reilly articles on filters.
> 
> Charles
> 
> Sumit Shah wrote:
> > Hello,
> > 
> > I am very new to MOD_PERL. I am trying to a create a proxy 
> in Apache 
> > using MOD_PERL. I have a perl script that takes an HTTP request 
> > parameter as input and returns appropriate result. I am trying to:
> > --> get a handle to the HTTP request object, filter it based on 
> > --> static/dynamic content, then invoke this perl script using HTTP 
> > --> request parameter, Forward the request
> > 
> > I would appreciate if anyone could point me to the documentation or 
> > suggest ways to achieve this.
> > 
> > Thanks
> > Sumit
> 
> --
> Charles Bueche <[EMAIL PROTECTED]>
> sand, snow, wave, wind and net -surfer
> 

Reply via email to