On Nov 27, 2007 1:04 PM, Dami Laurent (PJ) <[EMAIL PROTECTED]> wrote:
> But if you don't need that complexity, you can easily do it in mod_perl :
> configure Apache with something like
>   <LocationMatch "/parts/\d+$">
>     SetHandler modperl
>     PerlResponseHandler My::Parts::Handler
>   </LocationMatch>
>
> and then have your module My::Parts::Handler parse the URL and get to the 
> part number.


That's how I've done it in the past.  You could make this work for
even basic CGI by using mod_rewrite to turn the path data into query
args.

- Perrin

Reply via email to