Upload/POST fails repeatedly with mod_perl 1.29 and 1.27
[prev]
[thread]
[next]
[Date index for 2004/11/16]
------=_NextPart_000_21326_01C4CB8C.5DA76D10
Content-Type: text/plain;
charset="Windows-1252"
Content-Transfer-Encoding: 7bit
Hello all,
when attempting to post a form with enctype="multipart/form-data" for
file uploading, I receive the following errors in my error_log and the
upload fails:
[Tue Nov 16 00:20:49 2004] [error] [client xx.xx.xx.xx] [libapreq] file
upload forbidden
[Tue Nov 16 00:20:49 2004] [error] Apache::RequestNotes encountered a
parsing error!
[Tue Nov 16 00:20:49 2004] [error] [client xx.xx.xx.xx] Invalid method
in request -------------------------some key number here--
I have tried setting DISABLE_UPLOADS => 0 in the Apache::Registry
script, and I have tried setting 'PerlSetVar DisableUploads 0' in the
httpd.conf. Neither seems to work.
I also tried rebuilding apache/mod_perl and reinstalling libapreq and
Apache::RequestNotes, all to no avail.
By browsing the archives the only answer I could come up with was
someone suggested downgrading CGI.pm, but in this case I am not using
CGI.pm.
Also, there is another issue which may be related. POST requests seem
to work for me according to the access log:
xx.xx.xx.xx - - [16/Nov/2004:06:10:18 -0500] "POST /search/search.pl
HTTP/1.1" 200 823
but after the request, the POSTed values never show up
in the param() of CGI.pm or Apache::Request. GET requests names and
values work, but not POST. These POSTed values are very small, but
just in case I set MaxPostSize in httpd.conf to 10240. That didn't
help either. There is no evidence of this problem in the error log.
Both of these issues did not occur so long as I was running Redhat
7.2. When I moved to Fedora Core 2 final, the problems showed up.
Different versions of apache (1.3.27 and 1.3.33) and mod_perl (1.27 and
1.29) made no difference. I'm using Apache::Request version 1.3 and
Apache::RequestNotes 0.06 with Perl 5.8.3.
Your help would be greatly appreciated.
------=_NextPart_000_21326_01C4CB8C.5DA76D10
Content-Type: text/html;
charset="Windows-1252"
Content-Transfer-Encoding: quoted-printable
<HTML>
<BODY>
Hello all,<br>
<br>
when attempting to post a form with enctype=3D"multipart/form-data" =
for<br>
file uploading, I receive the following errors in my error_log and =
the<br>
upload fails:<br>
<br>
[Tue Nov 16 00:20:49 2004] [error] [client xx.xx.xx.xx] [libapreq] file =
upload forbidden<br>
[Tue Nov 16 00:20:49 2004] [error] Apache::RequestNotes encountered a =
parsing error!<br>
[Tue Nov 16 00:20:49 2004] [error] [client xx.xx.xx.xx] Invalid method =
in request -------------------------some key number here--<br>
<br>
I have tried setting DISABLE_UPLOADS =3D> 0 in the Apache::Registry<br>
script, and I have tried setting 'PerlSetVar DisableUploads 0' in =
the<br>
httpd.conf. Neither seems to work.<br>
<br>
<br>
I also tried rebuilding apache/mod_perl and reinstalling libapreq and =
Apache::RequestNotes, all to no avail.<br>
<br>
By browsing the archives the only answer I could come up with was<br>
someone suggested downgrading CGI.pm, but in this case I am not =
using<br>
CGI.pm.<br>
<br>
<br>
<br>
<br>
Also, there is another issue which may be related. POST requests =
seem<br>
to work for me according to the access log:<br>
<br>
xx.xx.xx.xx - - [16/Nov/2004:06:10:18 -0500] "POST /search/search.pl =
HTTP/1.1" 200 823<br>
<br>
but after the request, the POSTed values never show up<br>
in the param() of CGI.pm or Apache::Request. GET requests names and<br>
values work, but not POST. These POSTed values are very small, but<br>
just in case I set MaxPostSize in httpd.conf to 10240. That didn't<br>
help either. There is no evidence of this problem in the error log.<br>
<br>
<br>
Both of these issues did not occur so long as I was running Redhat<br>
7.2. When I moved to Fedora Core 2 final, the problems showed up.<br>
Different versions of apache (1.3.27 and 1.3.33) and mod_perl (1.27 =
and<br>
1.29) made no difference. I'm using Apache::Request version 1.3 and<br>
Apache::RequestNotes 0.06 with Perl 5.8.3.<br>
<br>
Your help would be greatly appreciated.<br>
</BODY></HTML>
------=_NextPart_000_21326_01C4CB8C.5DA76D10--
 |
Upload/POST fails repeatedly with mod_perl 1.29 and 1.27
Raphael Ferguson 11:56 on 16 Nov 2004
|