mod_perl 2 and file upload how-to

2003-06-18 Thread Alejandro Galue

Hello,

I need help in file uploading with mod_perl 2.

Apache::Request is not compatible with mod_perl 2, and I want to know
how can I upload file widthout using CGI.pm

Please send me an example if possible.

Thanks,
Alejandro.




RE: new libapreq-1.2 release candidate 2 available

2003-06-17 Thread Alejandro Galue

Hello,

I'm using RedHat 8.0 (httpd-2.0.40-11.5, mod_perl-1.99-05-3).

I want to know how can I compile this module, because when I try to run
perl Makefile.PL, it returns:

mod_perl 1.x ( 1.99) is required at Makefile.PL line 31.

So, is this module compatible with mod_perl 2 ?

My real interent in this module is for file uploading (form-multipart).
How can I do it with or without this module ???

Thanks,
Alejandro.

-Original Message-
From: news [mailto:[EMAIL PROTECTED] On Behalf Of Joe Schaefer
Sent: Tuesday, June 17, 2003 6:08 AM
To: [EMAIL PROTECTED]
Subject: new libapreq-1.2 release candidate 2 available



A new release candidate #2 for libapreq-1.2 is available:

  http://httpd.apache.org/~joes/libapreq-1.2_rc2.tar.gz

Please give it a try and report any problems to the apreq-dev@ list.
I'd like to release this version to CPAN as soon as possible. Thanks.

Changes since 1.1:

July 13, 2003

  Experimental support for SFIO is withdrawn.

April 30, 2003

  Add documentation for subclassing Apache::Request. [Steve Hay]

April 18, 2003

  Sync test suite uris with latest Apache::Test [Stas]

  Patch mfd parser's Content-Disposition header to do case-insensitive
  matches on name  filename keywords.  This feature allows uploads
  from Nokia Series 60 phones to work as expected. [Oskari 'Okko' Ojala]

  Patch Request.xs to revert to using pre-1.1 $upload-fh code for
  pre-5.8 perls.  This patch may get backed out prior to 1.2's release,
  unless it is known to resolve problems (zombies?) reported to occur
  with libapreq-1.1 uploads and pre-5.8 perls. [Joe]

February 27, 2003

  do a better mod_perl version checking, including the test for mod_perl
  2.0. [Stas]

  Applied IKEBE Tomohiro's patch for handling %u strings.

February 27, 2003

  Add req-nargs to C API to distinguish between query string and
  request body params.

-- 
Joe Schaefer




Problem with a custom response handler and mod_perl 2

2003-06-03 Thread Alejandro Galue

Hello,

I'm using redhat 8.0 (mod_perl-1.99_05-3, httpd-2.0.40-11.3). I created
a custom handler for http responses, and I get this error in httpd log:

[Tue Jun 03 07:42:53 2003] [error] [client 127.0.0.1] Can't locate
object method header_in via package Apache::RequestRec at
/usr/lib/perl5/site_perl/sgi/apache/cgi/init.pm line 27.!, referer:
http://localhost:8080/main.html

BUT, I have other redhat 8.0 implementation with the same handler and
does not have this problem.

Any suggestions
Thanks...

Alejandro