Re: path recognition question

2022-04-20 Thread Jacques Deguest
I would use path_info. See Apache2::RequestRec manual page. Regards, Jacques On 2022/04/21 12:21, Henrik S wrote: given the sample url: /api/user/id the part of "/api/user" is fixed.  and there is a handler setup for this path. how to get the id part in mod_perl? in other framework I

path recognition question

2022-04-20 Thread Henrik S
given the sample url: /api/user/id the part of "/api/user" is fixed. and there is a handler setup for this path. how to get the id part in mod_perl? in other framework I could get it with the similar format: /api/user/:id puts "hallo #{id}" Thank you.