RE: Mod_rewrite

2001-06-22 Thread Geoffrey Young
> -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

Re: mod_rewrite + PerlTransHandler

2003-01-19 Thread Stas Bekman
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

Re: mod_rewrite + PerlTransHandler

2003-01-20 Thread cowsgoesm00
-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

Re: mod_rewrite escaping ???

1999-10-29 Thread Vivek Khera
> "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?

Re: mod_rewrite escaping ???

1999-10-29 Thread Neil Kandalgaonkar
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

Re: mod_rewrite Problem...

2000-01-07 Thread darren chamberlain
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

Re: mod_rewrite + mod_perl

2001-09-10 Thread Vivek Khera
> "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? --

Re: mod_rewrite and -U Problems

2000-01-08 Thread Jason Simms
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

RE: mod_rewrite and Apache::Cookie

2000-01-20 Thread Geoffrey Young
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: