You are viewing a plain text version of this content. The canonical link for it is here.
Posted to modperl@perl.apache.org by "Patrick W. Fraley" <pf...@comsulting.de> on 2003/12/09 15:44:47 UTC

Length problem with posts

Hi List,

I am having a really funky problem I can not get solved.  First of I am
not sure whether this is a mod_perl problem, or an apache problem or
maybe a redhat problem, so here it goes:

I have developed a mod_perl application, which runs just fine on the
development server (Mandrake 8.2).  

In this application I do have forms with a lot of elements (sometimes
over 100).  This does not have a problem on my development server
(Mandrake 8.2), but on the external Server (RedHat 9.0) the posts get
cut of after a certain length.  Now I do use METHOD=POST in the form. 
The request also gets logged as a post by apache, but not all of the
posted data arrives in my script.

Has anybody here had a similar problem and can point me into the right
direction?  I tried fiddling with some of the Limit Values in apache,
but it did not make a bit of difference.  Is there some configuration
for mod_perl I can try?

TIA
Patrick W. Fraley
-- 

***************************************
COMsulting Gerhard Faehling GmbH
Patrick W. Fraley
Oeverdieker Weg 6
23669 Timmendorfer Strand
Tel: 04503 / 88 12 45
Fax: 04503 / 88 10 18
E-Mail: pf@comsulting.de
Internet: www.comsulting.de
***************************************


-- 
Reporting bugs: http://perl.apache.org/bugs/
Mail list info: http://perl.apache.org/maillist/modperl.html


Re: Length problem with posts

Posted by Stas Bekman <st...@stason.org>.
Geoffrey Young wrote:
> 
> Patrick W. Fraley wrote:
> 
>>Hi List,
>>
>>I am having a really funky problem I can not get solved.  First of I am
>>not sure whether this is a mod_perl problem, or an apache problem or
>>maybe a redhat problem, so here it goes:
>>
>>I have developed a mod_perl application, which runs just fine on the
>>development server (Mandrake 8.2).  
>>
>>In this application I do have forms with a lot of elements (sometimes
>>over 100).  This does not have a problem on my development server
>>(Mandrake 8.2), but on the external Server (RedHat 9.0) the posts get
>>cut of after a certain length.  Now I do use METHOD=POST in the form. 
>>The request also gets logged as a post by apache, but not all of the
>>posted data arrives in my script.
> 
> 
> if you're using mod_perl 2 (1.99_X) with CGI.pm there is a known issue with
> large POST data.  this should be fixed in CGI.pm 3.01, but as far as I know
> it hasn't been released yet.

No, you don't need CGI.pm 3.01. You need mod_perl 1.99_11 which fixes the 
problem. CGI.pm 3.01 fixes a different problem (when run with 'SetHandler 
modperl') which most likely is not the one that you've reported (guessing here).

In the future, please make sure that you submit a proper bug report so we 
don't have to do a guesswork. See http://perl.apache.org/bugs/


__________________________________________________________________
Stas Bekman            JAm_pH ------> Just Another mod_perl Hacker
http://stason.org/     mod_perl Guide ---> http://perl.apache.org
mailto:stas@stason.org http://use.perl.org http://apacheweek.com
http://modperlbook.org http://apache.org   http://ticketmaster.com


-- 
Reporting bugs: http://perl.apache.org/bugs/
Mail list info: http://perl.apache.org/maillist/modperl.html


Re: Length problem with posts

Posted by Geoffrey Young <ge...@modperlcookbook.org>.
> I did notice that, but then I do have a lot of software running on my system that "has not been released" yet. ;)

:)

you can see if something in this thread helps you

http://marc.theaimsgroup.com/?t=106790815400001&r=1&w=2

--Geoff


-- 
Reporting bugs: http://perl.apache.org/bugs/
Mail list info: http://perl.apache.org/maillist/modperl.html


Re: Length problem with posts

Posted by "Patrick W. Fraley" <pf...@comsulting.de>.
Am Die, 2003-12-09 um 16.37 schrieb Geoffrey Young:
> >>this should be fixed in CGI.pm 3.01, but as far as I know
> >>it hasn't been released yet.
> 
> > thanks for your reply.  I tried finding the CGI.pm 3.01 Version, but can not find a download.
> > Do you have a link where I can get it from to test?
> 
> see the above :)
> 
> --Geoff

I did notice that, but then I do have a lot of software running on my system that "has not been released" yet. ;)

Thanx again for your help
Patrick
-- 

***************************************
COMsulting Gerhard Faehling GmbH
Patrick W. Fraley
Oeverdieker Weg 6
23669 Timmendorfer Strand
Tel: 04503 / 88 12 45
Fax: 04503 / 88 10 18
E-Mail: pf@comsulting.de
Internet: www.comsulting.de
***************************************


-- 
Reporting bugs: http://perl.apache.org/bugs/
Mail list info: http://perl.apache.org/maillist/modperl.html


Re: Length problem with posts

Posted by Geoffrey Young <ge...@modperlcookbook.org>.
>>this should be fixed in CGI.pm 3.01, but as far as I know
>>it hasn't been released yet.

> thanks for your reply.  I tried finding the CGI.pm 3.01 Version, but can not find a download.
> Do you have a link where I can get it from to test?

see the above :)

--Geoff


-- 
Reporting bugs: http://perl.apache.org/bugs/
Mail list info: http://perl.apache.org/maillist/modperl.html


Re: Length problem with posts

Posted by "Patrick W. Fraley" <pf...@comsulting.de>.
Am Die, 2003-12-09 um 15.50 schrieb Geoffrey Young:
> Patrick W. Fraley wrote:
> > Hi List,
> > 
> > I am having a really funky problem I can not get solved.  First of I am
> > not sure whether this is a mod_perl problem, or an apache problem or
> > maybe a redhat problem, so here it goes:
> > 
> > I have developed a mod_perl application, which runs just fine on the
> > development server (Mandrake 8.2).  
> > 
> > In this application I do have forms with a lot of elements (sometimes
> > over 100).  This does not have a problem on my development server
> > (Mandrake 8.2), but on the external Server (RedHat 9.0) the posts get
> > cut of after a certain length.  Now I do use METHOD=POST in the form. 
> > The request also gets logged as a post by apache, but not all of the
> > posted data arrives in my script.
> 
> if you're using mod_perl 2 (1.99_X) with CGI.pm there is a known issue with
> large POST data.  this should be fixed in CGI.pm 3.01, but as far as I know
> it hasn't been released yet.
> 
> as an alternative, you can try changing from CGI.pm to Apache::Request
> (libapreq):
> 
> http://httpd.apache.org/apreq/
> http://www.unixsoft.org/apache/httpd/libapreq/libapreq2-2.02_02-dev.tar.gz
> 
> HTH
> 
> --Geoff
Hi Geoff,

thanks for your reply.  I tried finding the CGI.pm 3.01 Version, but can not find a download.
Do you have a link where I can get it from to test?

Thanx
Patrick
-- 

***************************************
COMsulting Gerhard Faehling GmbH
Patrick W. Fraley
Oeverdieker Weg 6
23669 Timmendorfer Strand
Tel: 04503 / 88 12 45
Fax: 04503 / 88 10 18
E-Mail: pf@comsulting.de
Internet: www.comsulting.de
***************************************


-- 
Reporting bugs: http://perl.apache.org/bugs/
Mail list info: http://perl.apache.org/maillist/modperl.html


Re: Length problem with posts

Posted by Geoffrey Young <ge...@modperlcookbook.org>.

Patrick W. Fraley wrote:
> Hi List,
> 
> I am having a really funky problem I can not get solved.  First of I am
> not sure whether this is a mod_perl problem, or an apache problem or
> maybe a redhat problem, so here it goes:
> 
> I have developed a mod_perl application, which runs just fine on the
> development server (Mandrake 8.2).  
> 
> In this application I do have forms with a lot of elements (sometimes
> over 100).  This does not have a problem on my development server
> (Mandrake 8.2), but on the external Server (RedHat 9.0) the posts get
> cut of after a certain length.  Now I do use METHOD=POST in the form. 
> The request also gets logged as a post by apache, but not all of the
> posted data arrives in my script.

if you're using mod_perl 2 (1.99_X) with CGI.pm there is a known issue with
large POST data.  this should be fixed in CGI.pm 3.01, but as far as I know
it hasn't been released yet.

as an alternative, you can try changing from CGI.pm to Apache::Request
(libapreq):

http://httpd.apache.org/apreq/
http://www.unixsoft.org/apache/httpd/libapreq/libapreq2-2.02_02-dev.tar.gz

HTH

--Geoff


-- 
Reporting bugs: http://perl.apache.org/bugs/
Mail list info: http://perl.apache.org/maillist/modperl.html