Re: Apache2::Request for ActivePerl Win32
Absolutely. Set up Randy Kobes's PPM repository (http://theoryx5.uwinnipeg.ca/ppms/ for latest ActivePerl with PPM4 (build 819 and above) or http://theoryx5.uwinnipeg.ca/cgi-bin/ppmserver?urn:/PPMServer58 for earlier versions). There's also a binary mod_perl2 there. Issac Kelvin Wu wrote: Hi list, Is there a Apache2::Request module for ActivePerl Win32 (v5.8.8 built for MSWin32-x86-multi-thread) and mod_perl 2? I am trying to read parameters from query, the $r-args() call in mod_perl 2 simply returns whole URI rather than key/value hash which mod_perl1 does. After some research, Apache2::Request does parse query parameters but ActivePerl seems not provide such module. How can I install this module under Windows? Or is there any other way to get parameters from GET/POST? Windows XP, ActivePerl 5.8.8, mod_perl 2, Apache 2.2.3 Thanks -- Sent from my BlackBerry. Ignore the typos unless they're funny.
Re: Apache2::Request for ActivePerl Win32
I tried URI use URI; use URI::Escape; my $uri = URI-new($r-unparsed_uri()); my %args = $uri-query_form(); $r-print($args{key}); it works too. On 3/29/07, Kelvin Wu [EMAIL PROTECTED] wrote: Hi list, Is there a Apache2::Request module for ActivePerl Win32 (v5.8.8 built for MSWin32-x86-multi-thread) and mod_perl 2? I am trying to read parameters from query, the $r-args() call in mod_perl 2 simply returns whole URI rather than key/value hash which mod_perl1 does. After some research, Apache2::Request does parse query parameters but ActivePerl seems not provide such module. How can I install this module under Windows? Or is there any other way to get parameters from GET/POST? Windows XP, ActivePerl 5.8.8, mod_perl 2, Apache 2.2.3 Thanks -- Sent from my BlackBerry. Ignore the typos unless they're funny. -- Sent from my BlackBerry. Ignore the typos unless they're funny.
Re: Apache2::Request for ActivePerl Win32
On Thu, 29 Mar 2007, Issac Goldstand wrote: Kelvin Wu wrote: Is there a Apache2::Request module for ActivePerl Win32 (v5.8.8 built for MSWin32-x86-multi-thread) and mod_perl 2? Absolutely. Set up Randy Kobes's PPM repository (http://theoryx5.uwinnipeg.ca/ppms/ for latest ActivePerl with PPM4 (build 819 and above) or http://theoryx5.uwinnipeg.ca/cgi-bin/ppmserver?urn:/PPMServer58 for earlier versions). There's also a binary mod_perl2 there. The naming conventions are a bit confusing - Apache2::Request is provided by the libapreq2 ppm package in our repository (libapreq-2.0 if you would have been using Apache/2.0). -- best regards, Randy Kobes
Re: Apache2::Request for ActivePerl Win32
Yes just noticed, thanks for your info. On 3/29/07, Randy Kobes [EMAIL PROTECTED] wrote: On Thu, 29 Mar 2007, Issac Goldstand wrote: Kelvin Wu wrote: Is there a Apache2::Request module for ActivePerl Win32 (v5.8.8 built for MSWin32-x86-multi-thread) and mod_perl 2? Absolutely. Set up Randy Kobes's PPM repository (http://theoryx5.uwinnipeg.ca/ppms/ for latest ActivePerl with PPM4 (build 819 and above) or http://theoryx5.uwinnipeg.ca/cgi-bin/ppmserver?urn:/PPMServer58 for earlier versions). There's also a binary mod_perl2 there. The naming conventions are a bit confusing - Apache2::Request is provided by the libapreq2 ppm package in our repository (libapreq-2.0 if you would have been using Apache/2.0). -- best regards, Randy Kobes -- Sent from my BlackBerry. Ignore the typos unless they're funny.