You are viewing a plain text version of this content. The canonical link for it is here.
Posted to modperl@perl.apache.org by Adam Prime <ad...@utoronto.ca> on 2018/01/09 22:01:28 UTC
Re: simple question. Not using 2.xxx10. query params
libapreq2 (Apache2::Request) does this kind of stuff, or you can use a
framework that sits on top of mod_perl that handles it for you. If you
want to write raw handlers, the libapreq2 is probably the way to go.
https://httpd.apache.org/apreq/docs/libapreq2/
Adam
On 18-01-09 10:18 PM, Chris Bennett wrote:
> I am using the 2xxx09 version on OpenBSD.
> The manual pages are still unfinished on this version,
> so I can't find a way to probe for any particular parameter
> such as URL?lang=es&happy=yes&sad=no
>
> $r->args(); just produces a string.
>
> Do I really have to parse strings myself or is there a method
> that was undocumented in version 2.xxxx09?
> The manual page right where this would be explained says it needs
> to be finished, which leaves me clueless on how to proceed.
Re: simple question. Not using 2.xxx10. query params
Posted by Chris Bennett <ch...@bennettconstruction.us>.
On Tue, Jan 09, 2018 at 10:01:28PM +0000, Adam Prime wrote:
> libapreq2 (Apache2::Request) does this kind of stuff, or you can use a
> framework that sits on top of mod_perl that handles it for you. If you want
> to write raw handlers, the libapreq2 is probably the way to go.
>
> https://httpd.apache.org/apreq/docs/libapreq2/
>
Apologies, the existing documentation implies that Apache2::Request
was gone. Left me very confused.
Working now. :-)
I've been a bit overwhelmed by having lost my server when company
distcontinued offering servers and bouncing around trying to find a
suitable server and get a working laptop! Trying to get a friend's
Windows laptop working with an old firefox and an old version of Java
was a couple of days of frustration!
Thanks,
Chris Bennett