Dan Horne wrote:
Following on from this, it seems that the PerlTransHandler looked like my best
bet, but it doesn’t seem to be able to alter the hostname (please correct me if
there is a way to do this, as I struggled with it so far)

I guess mod_rewrite allows the hostname to be altered, but I need to intercept
the request and perform access checks, and I don’t know if I can do this before
mod_rewrite kicks in during the request lifecycle.

With mod_perl 2, you can use
http://search.cpan.org/dist/Apache-Filter-HTTPHeadersFixup/
which is perfect for proxying as it does the work long before mod_rewrite kicks in. This module is a connection level filter.


--
__________________________________________________________________
Stas Bekman            JAm_pH ------> Just Another mod_perl Hacker
http://stason.org/     mod_perl Guide ---> http://perl.apache.org
mailto:[EMAIL PROTECTED] http://use.perl.org http://apacheweek.com
http://modperlbook.org http://apache.org   http://ticketmaster.com

--
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



Reply via email to