You are viewing a plain text version of this content. The canonical link for it is here.
Posted to modperl@perl.apache.org by Stas Bekman <st...@stason.org> on 2004/05/01 19:12:50 UTC
Re: bug with mod_perl and CGI.pm
Lincoln Stein wrote:
> Hi Lan,
>
> Do you think this might be a bug in mod_perl 1.99X? It is the
> responsibility of mod_perl's CGI compatibility mode to set the CGI
> environment variables. It doesn't look as though CGI.pm ever tries
> to set CONTENT_LENGTH itself, even when running under mod_perl, but
> relies on mod_perl to do this. I'm not trying to evade
> responsibility here, but just to understand where this bug report
> should be directed.
Lincoln,
If anybody reports to you a problem with a mp2 which is as old 1.99_05 (2
years old) as them to update to the latest current version. CGI.pm works just
fine with it. You may even consider to change CGI.pm to refuse to run unless
they have let's say at least 1.99_12 and keep on moving the target till 2.0 is
released, to save yourself and the user time. Thanks!
Lan, please update to mod_perl 1.99_13 which is the latest version and try
again. If still in trouble, please post the bugreport to this list. Thanks.
> On Wednesday 28 April 2004 10:01 am, Lan Yufeng wrote:
[...]
>> * the name and version of your Web server: Apache 2.0.44 with
>>mod_perl 1.99-05
__________________________________________________________________
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
--
Report problems: http://perl.apache.org/bugs/
Mail list info: http://perl.apache.org/maillist/modperl.html
List etiquette: http://perl.apache.org/maillist/email-etiquette.html
Re: bug with mod_perl and CGI.pm
Posted by Stas Bekman <st...@stason.org>.
Lincoln Stein wrote:
> Hi Stas,
>
> Thanks for the advice. By the way, I'm currently moving all my mod_perl 1.X
> modules to 2.X, using the Apache::MP3 port you did a year ago as my guide.
> Thanks for the help!
You're welcome, Lincoln :)
BTW, the whole process is documented here:
http://perl.apache.org/docs/2.0/user/porting/porting.html#How_C_Apache__MP3__was_Ported_to_mod_perl_2_0
Does it mean that you will get Apache::MP3 ported as well? I've never had a
chance to re-merge my changes into your newer version.
__________________________________________________________________
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
--
Report problems: http://perl.apache.org/bugs/
Mail list info: http://perl.apache.org/maillist/modperl.html
List etiquette: http://perl.apache.org/maillist/email-etiquette.html
Re: bug with mod_perl and CGI.pm
Posted by Lincoln Stein <ls...@cshl.edu>.
Hi Stas,
Thanks for the advice. By the way, I'm currently moving all my mod_perl 1.X
modules to 2.X, using the Apache::MP3 port you did a year ago as my guide.
Thanks for the help!
Lincoln
On Saturday 01 May 2004 01:12 pm, Stas Bekman wrote:
> Lincoln Stein wrote:
> > Hi Lan,
> >
> > Do you think this might be a bug in mod_perl 1.99X? It is the
> > responsibility of mod_perl's CGI compatibility mode to set the CGI
> > environment variables. It doesn't look as though CGI.pm ever tries
> > to set CONTENT_LENGTH itself, even when running under mod_perl, but
> > relies on mod_perl to do this. I'm not trying to evade
> > responsibility here, but just to understand where this bug report
> > should be directed.
>
> Lincoln,
>
> If anybody reports to you a problem with a mp2 which is as old 1.99_05 (2
> years old) as them to update to the latest current version. CGI.pm works
> just fine with it. You may even consider to change CGI.pm to refuse to run
> unless they have let's say at least 1.99_12 and keep on moving the target
> till 2.0 is released, to save yourself and the user time. Thanks!
>
> Lan, please update to mod_perl 1.99_13 which is the latest version and try
> again. If still in trouble, please post the bugreport to this list. Thanks.
>
> > On Wednesday 28 April 2004 10:01 am, Lan Yufeng wrote:
>
> [...]
>
> >> * the name and version of your Web server: Apache 2.0.44 with
> >>mod_perl 1.99-05
>
> __________________________________________________________________
> 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
--
Lincoln Stein
lstein@cshl.edu
Cold Spring Harbor Laboratory
1 Bungtown Road
Cold Spring Harbor, NY 11724
(516) 367-8380 (voice)
(516) 367-8389 (fax)
--
Report problems: http://perl.apache.org/bugs/
Mail list info: http://perl.apache.org/maillist/modperl.html
List etiquette: http://perl.apache.org/maillist/email-etiquette.html