Re: Can't locate module.pm file

2003-09-29 Thread Thomas Schindl
This is once more a question where you should have looked once more at the documention at perl.apache.org. When you execute your perl programm on the commandline you automatically have "." in your @INC == include path. Mod_perl is not executed in the directory where your .pm is located, so you ha

Can't locate module.pm file

2003-09-29 Thread perl
I have a problem calling a module in my mod_perl dir using apache on redhat 9. I have a mystuff.pm in the same directory as the calling perl program. I got it working running on the command line but in apache mod_perl, it can't find the module. Questions: - Where should the mystuff.pm be located

Latest mod_perl version number

2003-09-29 Thread Javier Alvarado
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.28 (Unix) mod_perl/1.27

Re: Perl 5.8.1 and mod_perl 1?

2003-09-29 Thread Stas Bekman
Frank Maas wrote: Hi guys, Maybe it's me and I am just missing something here, but what can I expect if I want to use mod_perl 1 together with 5.8.1? All post I saw here were about testing 1.99 (effectively mp2). The thing that got me worried was Stas' remark about the new 1.99_10, which is "the f

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

2003-09-29 Thread Praveen Ray
Try the pnotes method: $r->pnotes(MyHash => $your_session_hash); then later in other handlers... my $sess_hash = $r->pnotes('MyHash'); On Mon, 2003-09-29 at 17:53, 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

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

2003-09-29 Thread Daisuke Maki
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 that Perl code later in the request handling process can access it, for example w

Perl 5.8.1 and mod_perl 1?

2003-09-29 Thread Frank Maas
Hi guys, Maybe it's me and I am just missing something here, but what can I expect if I want to use mod_perl 1 together with 5.8.1? All post I saw here were about testing 1.99 (effectively mp2). The thing that got me worried was Stas' remark about the new 1.99_10, which is "the first release to su

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

2003-09-29 Thread Matisse Enzer
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 that Perl code later in the request handling process can access it, for example with: my $hash = $r->{OurHash}; or something like that? Specifcally what i am trying to do is to

Re: [ANNOUNCE]: mod_perl 1.99_10

2003-09-29 Thread Geoffrey Young
The Doctor wrote: On Mon, Sep 29, 2003 at 11:10:29AM -0700, Stas Bekman wrote: Stas Bekman wrote: The uploaded file mod_perl-1.99_10.tar.gz This release: - is the first release to support the hashing randomization in perl 5.8.1. - requires httpd 2.0.46 or higher What about support for htt

Re: [ANNOUNCE]: mod_perl 1.99_10

2003-09-29 Thread The Doctor
On Mon, Sep 29, 2003 at 11:10:29AM -0700, Stas Bekman wrote: > Stas Bekman wrote: > >The uploaded file > > > >mod_perl-1.99_10.tar.gz > > This release: > > - is the first release to support the hashing randomization in perl 5.8.1. > - requires httpd 2.0.46 or higher > What about support fo

Re: [ANNOUNCE]: mod_perl 1.99_10

2003-09-29 Thread Stas Bekman
Stas Bekman wrote: The uploaded file mod_perl-1.99_10.tar.gz This release: - is the first release to support the hashing randomization in perl 5.8.1. - requires httpd 2.0.46 or higher __ Stas BekmanJAm_pH --> Ju

[ANNOUNCE]: mod_perl 1.99_10

2003-09-29 Thread Stas Bekman
The uploaded file mod_perl-1.99_10.tar.gz has entered CPAN as file: $CPAN/authors/id/S/ST/STAS/mod_perl-1.99_10.tar.gz size: 1063061 bytes md5: 55345e460b5976b39da9aeb3b5a3b5db Changes since v1.99_09: make sure that the custom pools and destroyed only once and only when all reference

[ANNOUNCE]: Apache::Test 1.04

2003-09-29 Thread Stas Bekman
The uploaded file Apache-Test-1.04.tar.gz has entered CPAN as file: $CPAN/authors/id/S/ST/STAS/Apache-Test-1.04.tar.gz size: 90206 bytes md5: f293093cde16b234b815ce63756dad19 Changes since v1.03: if the server stops reading from the client before it has sent all its data, Apache::Tes

[ANNOUNCE]: GTop 0.11

2003-09-29 Thread Stas Bekman
[announced here as GTop is a prerequisite for several Apache:: tools] The uploaded file GTop-0.11.tar.gz has entered CPAN as file: $CPAN/authors/id/S/ST/STAS/GTop-0.11.tar.gz size: 22798 bytes md5: 582db9cbb0c83c774ab24f391ace29af Changes since v0.10: Add support to libgtop 2.0 and

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

2003-09-29 Thread Harry Zhu
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 stopped at ld: warning

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

2003-09-29 Thread Stefan Thuering
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 PerlHandler Apache::Regist

Re: Perl 5.8.1 is out

2003-09-29 Thread Stas Bekman
Carl Brewer wrote: Stas Bekman wrote: So what hostname do you normally use? Have you tried that? Philippe has reported that this change has worked for him. http://marc.theaimsgroup.com/?l=apache-modperl-dev&m=105514290024419&w=2 I used this patch just now on a current CVS, and still see the sa

Re: Apache2 Mod_perl2 win32 POST data truncation

2003-09-29 Thread Randy Kobes
On Mon, 29 Sep 2003, 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 i

Apache2 Mod_perl2 win32 POST data truncation

2003-09-29 Thread Jacqui Caren
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 know that this probl

Re: Perl 5.8.1 is out

2003-09-29 Thread Carl Brewer
Stas Bekman wrote: So what hostname do you normally use? Have you tried that? Philippe has reported that this change has worked for him. http://marc.theaimsgroup.com/?l=apache-modperl-dev&m=105514290024419&w=2 I used this patch just now on a current CVS, and still see the same problems (or simil

OT: Re: To quotes or not quotes parameter

2003-09-29 Thread Thomas Klausner
Hi! On Mon, Sep 29, 2003 at 02:06:03AM -0700, [EMAIL PROTECTED] wrote: > what is the proper way to pass a parameter for something like > $cgi-param(username)? This is way off topic here, but very much on topic at the beginners list (which the initial mail was sent to, too). So please discuss this

To quotes or not quotes parameter

2003-09-29 Thread perl
what is the proper way to pass a parameter for something like $cgi-param(username)? as far as i know it, this works for me: $cgi-param(username); $cgi->param("username"); $cgi->param('username'); thanks, -rkl