> -Original Message-
> From: Jamie Krasnoo [mailto:[EMAIL PROTECTED]]
> Sent: Friday, June 22, 2001 3:14 PM
> To: Modperl
> Subject: Mod_rewrite
>
>
> Can mod_rewrite be used to set PerlSetVar or PerlSetEnv variables?
well, both of these are used to populate Apache::Table objects inte
Torsten Foertsch wrote:
-BEGIN PGP SIGNED MESSAGE-
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
-BEGIN PGP SIGNED MESSAGE-
Hash: SHA1
On Mon, 20 Jan 2003 10:10:36 +1100, Stas Bekman wrote:
>Not in mod_perl 1.0. Your best bet is probably to move the
>mod_rewrite's
>rules into your perl transhandler.
or maybe just have mod_rewrite take precedence over mod_perl, by
having LoadModule mo
> "r" == raptor <[EMAIL PROTECTED]> writes:
r> /tohtml.pl?path=blah&wlah
r> and then in my script the result is that :
r> QueryString("path") is equal to "blah", but not to "blah&wlah".
r> HOW to make escaping in RewriteRule ?
This doesn't seem much like a problem for mod_perl, does it?
At 17:40 -0400 1999-10-29, raptor wrote:
>RewriteRule ^(.*)\/index\.html$/tohtml.pl?path=$1
>
>rewriten like this :
>
>/tohtml.pl?path=blah&wlah
>
>and then in my script the result is that :
>
>QueryString("path") is equal to "blah", but not to "blah&wlah".
>
>HOW to make escaping in
Since this is a mod_perl list, I'll suggets a Perl solution. Write a
PerlTransHandler that does what mod_rewrite does. You can get the query string
from $r->args and send redirect headers.
A quick example (this works, BTW):
package Apache::Redirect::Based::On::Query::String;
use Apache::Constan
> "KS" == Kenny Smith <[EMAIL PROTECTED]> writes:
KS> It executes show_journal.mod_perl perfectly well, but the script does not
KS> remain resident in memory. Do I need to call it differently? Any help is
KS> appreciated. :)
What evidence do you have to say it doesn't remain resident?
--
No, I don't have any specific handler for /. I guess I'll keep playing
around with it some more. Most of the url's will actually be in the format
of 'http://www.mysite.com/path?QueryString', and I am not sure yet is -U
even checks these. The docs mention it uses an internal subrequest to
ha
for anyone interested...
I wrote a PerlTransHandler and removed mod_rewrite and am seeing the same
problem as outlined below...
can anyone verify this?
--Geoff
> -Original Message-
> From: Geoffrey Young
> Sent: Wednesday, January 19, 2000 9:27 AM
> To: '[EMAIL PROTECTED]'
> Subject: