Re: Perl Class destory

2003-09-30 Thread Praveen Ray
It's just like any other perl object..If you keep a reference to your object in global or package namespace,it's destroy will never be called since modules under mod_perl are not unloaded unlink cgi. If your object is lexically scoped,it'll be cleaned upon scope exit. On Tue, 2003-09-30 at 23:13,

Perl Class destory

2003-09-30 Thread perl
under mod_perl, does the module being called in the web that create classes get cleaned up w/o calling destroy explicitly? That is, if I create a DBI handler wrapper class, closes the db connection, finish the code but never call the destroy on explicitly. Or for any Class object? I'm using DBI no

Re: How to attach a hashref or other data to the request object?

2003-09-30 Thread Matisse Enzer
Thank you. This works just fine. At 3:03 PM -0700 9/29/03, Daisuke Maki wrote: Check out $r->pnotes(). $r->pnotes( OurHash => { foobar => 1 } ); --d Matisse Enzer wrote: Is there an appropriate way in mod_perl 2 for me to take a hashref and somehow add it to the Apache request object so t

Trouble installing Apache::DBI

2003-09-30 Thread George Clark
Hi, I'm trying to re-install Apache::DBI on Debian. (Perl 5.8.0). I'm upgrading from mysql 3.23.52 to 4.0.13, and it was suggested that I re-install all of the DBI related Perl modules. Apache::DBI Test 5 is failing. I found a prior post (from Ask Bjoern Hansen) on this list back in April s

Re: Newbie alert Apache::ASP

2003-09-30 Thread Stas Bekman
Brent Atkerson wrote: Hello all, I am a newbie to the world of scripting and am pretty sure this is a basic question. I have Apache::ASP installed and the samples work great so I know things are working. So, here is my question: Brent, please ask Apache::ASP questions at this list: http://perl.ap

Newbie alert Apache::ASP

2003-09-30 Thread Brent Atkerson
Hello all, I am a newbie to the world of scripting and am pretty sure this is a basic question.  I have Apache::ASP installed and the samples work great so I know things are working.  So, here is my question:   Why does this work sample <% $Response->Write ("Hello World")  %> and this doe

Re: [mp2] segfault at startup under perl 5.8.1 and mod_perl-1.99_10-dev

2003-09-30 Thread Matthew Darwin
I now have it working on RedHat 9 with the same configuration options. So unless someone wants to debug this for interest sake, I'm not bothered by it any more. Let me know if you want me to post more info. Thanks, Stas Bekman wrote: Matthew, please submit a complete bug report as explained at

Re: [mp1] Problem install modperl1.28 apache1.3.28perl5.8.1RC5 on MacOSX(10.2.6)

2003-09-30 Thread Geoffrey Young
Chris Reinhardt wrote: On Thu, 25 Sep 2003, Harry Zhu wrote: When run >>/usr/local/bin/perl Makefile.PL APACHE_SRC=../apache_1.3.28/src DO_HTTPD=1 USE_APACI=1 EVERYTHING=1 got a bunch of messages like Unknown option: 1 Usage: head [-options] ... When you installed LWP, you told it to install

Re: [mp1] Problem install modperl1.28 apache1.3.28perl5.8.1RC5 on MacOSX(10.2.6)

2003-09-30 Thread Stas Bekman
Chris Reinhardt wrote: On Thu, 25 Sep 2003, Harry Zhu wrote: When run >>/usr/local/bin/perl Makefile.PL APACHE_SRC=../apache_1.3.28/src DO_HTTPD=1 USE_APACI=1 EVERYTHING=1 got a bunch of messages like Unknown option: 1 Usage: head [-options] ... When you installed LWP, you told it to install th

Re: [mp1] Problem install modperl1.28 apache1.3.28perl5.8.1RC5 on MacOSX(10.2.6)

2003-09-30 Thread Chris Reinhardt
On Thu, 25 Sep 2003, Harry Zhu wrote: > When run > >>/usr/local/bin/perl Makefile.PL APACHE_SRC=../apache_1.3.28/src > DO_HTTPD=1 USE_APACI=1 EVERYTHING=1 > > got a bunch of messages like > Unknown option: 1 > Usage: head [-options] ... > When you installed LWP, you told it to install the HEAD s

Re: Upgrading RedHat 9

2003-09-30 Thread Paul G. Weiss
I had found those. No _10 version. I'm currently trying to modify the srpm for mod_perl-1.99_07, which is available from RedHat, to use the .tar.gz for _10. I'm hopeful it will work. -P On Tue, 30 Sep 2003 14:09:10 -0700, Stas Bekman <[EMAIL PROTECTED]> wrote: Paul G. Weiss wrote: I have ht

Re: Upgrading RedHat 9

2003-09-30 Thread Stas Bekman
Paul G. Weiss wrote: I have httpd-2.0.40-21.5 installed with mod_perl-1.99_07-5 on a Red Hat 9 system. I'd like to upgrade to 2.0.47 for mod_perl-1.99_10 but there are no rpms available from RedHat. I can uninstall the existing rpms and build from source (at least I think I can, theoretically), but

Upgrading RedHat 9

2003-09-30 Thread Paul G. Weiss
I have httpd-2.0.40-21.5 installed with mod_perl-1.99_07-5 on a Red Hat 9 system. I'd like to upgrade to 2.0.47 for mod_perl-1.99_10 but there are no rpms available from RedHat. I can uninstall the existing rpms and build from source (at least I think I can, theoretically), but instead, I would lik

Re: [mp1] Problem install modperl1.28 apache1.3.28perl5.8.1RC5 on MacOSX(10.2.6)

2003-09-30 Thread Stas Bekman
Harry Zhu wrote: On Thursday, September 25, 2003, at 09:32 AM, Harry Zhu wrote: When run >>/usr/local/bin/perl Makefile.PL APACHE_SRC=../apache_1.3.28/src DO_HTTPD=1 USE_APACI=1 EVERYTHING=1 got a bunch of messages like Unknown option: 1 Usage: head [-options] ... and when run "make", it stoppe

Re: Apache2 Mod_perl2 win32 POST data truncation

2003-09-30 Thread Stas Bekman
Jacqui Caren wrote: I have installed the below which appear to be the latest (apart from AS804) and the problem of CGI POST data truncation still persists... I have a web form that uses a textarea import a list of entries however when more than the following text is imported truncation occurs. I kn

Re: [MP1] memory leak when PerlSetupEnv is enabled (win32)

2003-09-30 Thread Stas Bekman
Stefan Thuering wrote: Platform: NT4 SP6, Apache 1.3.27/28, mod_perl 1.28, perl 5.6.1 Scenario: When running any script (print hello...) multiple times memory usage of apache slowly grows (maybe 400byte/request) Apache Setting: ScriptAlias /perl/ "E:/Apache/cgi-bin/" SetHandler perl-script Per

Re: Latest mod_perl version number

2003-09-30 Thread Stas Bekman
Javier Alvarado wrote: Hello, I was trying to build Apache 1.3.28 with mod_perl 1.28, which I downloaded from http://perl.apache.org/dist/mod_perl-1.28.tar.gz. I managed to build everything okay, but I noticed that Apache reports mod_perl as version 1.27 in the error log: [notice] Apache/1.3.2

Re: [mp2] segfault at startup under perl 5.8.1 and mod_perl-1.99_10-dev

2003-09-30 Thread Stas Bekman
Matthew, please submit a complete bug report as explained at: http://perl.apache.org/bugs/ __ Stas BekmanJAm_pH --> Just Another mod_perl Hacker http://stason.org/ mod_perl Guide ---> http://perl.apache.org mailto:[

Re: [mp2] segfault at startup under perl 5.8.1 and mod_perl-1.99_10-dev

2003-09-30 Thread Matthew Darwin
here is a stack with perl debugging enabled. (gdb) bt #0 0x4034411f in S_new_xpv () at sv.c:756 #1 0x40344c35 in Perl_sv_upgrade (sv=0x404265e0, mt=4) at sv.c:1392 #2 0x4034b11c in Perl_sv_setpvn (sv=0x404265e0, ptr=0x403fb53c "", len=0) at sv.c:4108 #3 0x402cd0e4 in perl_construct (my_perl=0

Re: problem installing modperl 2

2003-09-30 Thread Geoffrey Young
Egor Korablev wrote: hi After modperl1.99_10 realised, i can't install it under redhat 8(fully updated) becouse: error: !!! Apache/2.0.40 not supported, 2.0.46 or higher is required But, i think that redhats package httpd-2.0.40-11.7 is same Apache/2.0.47 I don't know why you would say that. fr

[mp2] Asynchronous AcceptEx Failed

2003-09-30 Thread Lee Goddard
Could someone please advise why I'm getting the following error: [Tue Sep 30 15:18:44 2003] [warn] (720064)The specified network name is no longer available. : winnt_accept: Asynchronous AcceptEx failed. This occurs several times, and the server shuts down. Nothing especially interesting going o

problem installing modperl 2

2003-09-30 Thread Egor Korablev
hi After modperl1.99_10 realised, i can't install it under redhat 8(fully updated) becouse: error: !!! Apache/2.0.40 not supported, 2.0.46 or higher is required But, i think that redhats package httpd-2.0.40-11.7 is same Apache/2.0.47 Can I force Apache version checking? thx

[mp2] segfault at startup under perl 5.8.1 and mod_perl-1.99_10-dev

2003-09-30 Thread Matthew Darwin
When I start httpd without the LoadModule perl_module modules/mod_perl.so All is good. When I add the line above, and start "httpd -X" apache crashes before I even request the first page. Has anyone else seen this problem? #0 0x403124c3 in Perl_sv_upgrade () from /foo2/modules/mod_perl.so #