in reply to Re: mod rewrite on mod perl handler skip trans handler phase
in thread mod rewrite on mod perl handler skip trans handler phase

Can you please elaborate? If im not mistaken by using the using the path_info its just changing the way the param is passed to the module. It still doesnt solve the issue of being able to do something like:
$base_url/$f_id example: myspace.com/$f_id
and have it mapped to a certain perl handler (WEBCORE::Control::Profile->run). I'm not using CGI::Application, I actually have my own custom controller base class.

Replies are listed 'Best First'.
Re^3: mod rewrite on mod perl handler skip trans handler phase
by derby (Abbot) on Dec 19, 2006 at 19:52 UTC

    Doh! Nevermind ... I thought you wanted the url to be /profile/<userid>

    In the case where you want url/<userid>, instead of mod_rewrite, you can push your location up:

    <Location /> SetHandler perl-script PerlResponseHandler WEBCORE::Control::Profile->run </Location>
    And then inspect the url - if it begins with profile, get the params, else break apart the url to get the userid.

    -derby