On Thu, Jun 16, 2005 at 01:32:50AM -0700, Juan Salvador Castejón wrote:
> Usage: Apache2::RequestRec::new(classname, c, base_pool_sv=Nullsv) at
> /usr/local/apache2/cgi-bin/swish.cgi
I have not worked with mod_perl2 yet. You might look at this (and
the entire docuemnt:
http://perl.apache.org/docs/2.0/user/porting/compat.html#C_Apache_E_gt_request_
Might take some work if you are new to perl/mod_perl.
Doesn't look like you want to call new() (about line 766 in
swish.cgi). In handler() you might need to stuff $r into the
configuration hash and then use that in process_request.
The other possiblity is to stick with the CGI.pm module instead of
trying to get the parameters from Apache2.
--
Bill Moseley
moseley@hank.org
Unsubscribe from or help with the swish-e list:
http://swish-e.org/Discussion/
Help with Swish-e:
http://swish-e.org/current/docs
swish-e@sunsite.berkeley.edu
Received on Thu Jun 16 07:21:40 2005