Torsten Foertsch wrote:
-----BEGIN PGP SIGNED MESSAGE-----Not in mod_perl 1.0. Your best bet is probably to move the mod_rewrite's rules into your perl transhandler.
Hash: SHA1
Hi,
I am trying to get a PerlTransHandler called *after* some mod_rewrite processing.
I thought if I configure the rewrite rules *before* the PerlTransHandler:
RewriteEngine On
RewriteRule ... [PT]
PerlTransHandler Apache::TestTrans::transhandler
it would work that way. But it does not.
&Apache::TestTrans::transhandler is always called *before* mod_rewrite processing.
Is there a way to determine the handler order?
It should be possible in 2.0, though the API is not there yet. Apache 2.0 allows to insert handlers before/after a specified handler + other options.
__________________________________________________________________
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