Anonymous Monk has asked for the wisdom of the Perl Monks concerning the following question:
This works fine when the url is called as such $base_url/profile?f_id=$user_id<Location /profile> SetHandler perl-script PerlResponseHandler WEBCORE::Control::Profile->run </Location>
but it just trys to look for the "profile" directory/file in the file structure. I read somewhere that I need to skip the file lookup using the "PerlTransHandler" phase but I cant seem to get it to work.RewriteEngine On RewriteRule ^/(.*)$ /profile?f_id=$1 [R,L]
I can get to it with $base_url/u/$user_id just fine. Does anyone have any tips on where I should look? To reiterate I want the url to rewrite to a vanity url like $base_url/$user_idRewriteEngine On RewriteRule ^/u/(.*)$ /profile?f_id=$1 [R,L]
|
|---|
| Replies are listed 'Best First'. | |
|---|---|
|
Re: mod rewrite on mod perl handler skip trans handler phase
by perrin (Chancellor) on Dec 19, 2006 at 19:16 UTC | |
by ducbot (Initiate) on Dec 19, 2006 at 20:17 UTC | |
by perrin (Chancellor) on Dec 19, 2006 at 21:26 UTC | |
|
Re: mod rewrite on mod perl handler skip trans handler phase
by derby (Abbot) on Dec 19, 2006 at 14:21 UTC | |
by Anonymous Monk on Dec 19, 2006 at 17:18 UTC | |
by derby (Abbot) on Dec 19, 2006 at 19:52 UTC |