Re: Preloading modules and Perl 5.6.1 vs 5.8.0

2003-09-04 Thread e-mol Development Team
e-mol Development Team wrote: diff -u 5.6.1.txt 5.8.0.txt The two builds are quite different, I have pointed out below at least a few major differences. [EMAIL PROTECTED] src]# diff -u 5.6.1.txt 5.8.0.txt --- 5.6.1.txt 2003-09-03 14:07:02.0 -0400 +++ 5.8.0.txt 2003-09-03

Re: [mp2] executing subprocesses from mod_perl

2003-09-04 Thread Haroon Rafique
On Yesterday at 2:06pm, SB=Stas Bekman [EMAIL PROTECTED] wrote: SB SB Also you may want to use Apache::SubProcess to stress it out and see SB if there is something that we need to fix, if it's not used we might SB not be aware of existings bugs that the tests don't catch. You can SB always

[mp2] Failed to obtain the MPM name

2003-09-04 Thread Beau E. Cox
Hi - 1) Downloaded (via CVS) latest mod_perl source (9/4/2003) 2) Cannot configure: perl Makefile.PL MP_AP_PREFIX=/usr/local/apache2/ MP_INST_APACHE2=1 Reading Makefile.PL args from @ARGV MP_AP_PREFIX = /usr/local/apache2 MP_INST_APACHE2 = 1 Configuring Apache/2.0.47

Re: Preloading modules and Perl 5.6.1 vs 5.8.0

2003-09-04 Thread Stas Bekman
I think next I may try and see if perl 5.6.1 can be build on the 5.8.0 system and see what this leads to. I wonder if it could be the newer gcc or glibc? This is quite possible, since the sharing mostly comes from your OS, not specificly from Perl. You may also want to try the latest

Re: [mp2] Failed to obtain the MPM name

2003-09-04 Thread Stas Bekman
Beau E. Cox wrote: Hi - 1) Downloaded (via CVS) latest mod_perl source (9/4/2003) 2) Cannot configure: perl Makefile.PL MP_AP_PREFIX=/usr/local/apache2/ MP_INST_APACHE2=1 Reading Makefile.PL args from @ARGV MP_AP_PREFIX = /usr/local/apache2 MP_INST_APACHE2 = 1 Configuring

Re: Preloading modules and Perl 5.6.1 vs 5.8.0

2003-09-04 Thread e-mol Development Team
After some thinking time I decided to compile perl 5.8.0 on the older system that did have 5.6.1. It would seem it has nothing to do with perl 5.8.0. I compiled perl 5.8.0 on the older system and preloading worked just like it should. Now I know that it does not have anything to do with perl or

Re: Preloading modules and Perl 5.6.1 vs 5.8.0

2003-09-04 Thread Stas Bekman
e-mol Development Team wrote: After some thinking time I decided to compile perl 5.8.0 on the older system that did have 5.6.1. It would seem it has nothing to do with perl 5.8.0. I compiled perl 5.8.0 on the older system and preloading worked just like it should. Now I know that it does not

FW: $r-headers_out Location and Set-Cookie

2003-09-04 Thread Garrett Goebel
Title: FW: $r-headers_out Location and Set-Cookie [Note: reposting, the original post appears to have dropped through the cracks] Geoffrey Young wrote: That's when you use Apache::compat, doing the mp1 syntax. In mp2-speak that would be: $r-err_headers_out-add('Set-Cookie' =

Re: FW: $r-headers_out Location and Set-Cookie

2003-09-04 Thread Geoffrey Young
Garrett Goebel wrote: [Note: reposting, the original post appears to have dropped through the cracks] not only did I get two of these already, but I also posted a reply :) --Geoff -- Reporting bugs: http://perl.apache.org/bugs/ Mail list info: http://perl.apache.org/maillist/modperl.html

Re: SubRequest in Filter MP2 [QUESTION]

2003-09-04 Thread Craig Shelley
Hello.. Just Forwarding this to the list Having no idea as to how the internals of modperl and apache actually work, this may seem like a bit of a dumb suggestion. When doing a subrequest from within a filter, the most ideal situation would be to have access to the output from within the

RE: FW: $r-headers_out Location and Set-Cookie

2003-09-04 Thread Garrett Goebel
Title: RE: FW: $r-headers_out Location and Set-Cookie Geoffrey Young wrote: Garrett Goebel wrote: [Note: reposting, the original post appears to have dropped through the cracks] not only did I get two of these already, but I also posted a reply :) My bad. It was an old thread and I

Cookie Code

2003-09-04 Thread Tim Edwards
The code I've been using to handle cookies ate it's self when I start using ModPerl. I've set my script directory to PerlHandler Apache::PerlRun while I converts scripts. I'm sending 3 cookies. The first one goes properly. The second two get print to the screen. Same script run under normal

Can't get a mod_perl.so...

2003-09-04 Thread Rich Kosiba
I've read the documentation several times and searched the web, but can't find an answer to my problem. I can't get a mod_perl.so. I used several different configure combinations from what I had read in the documentation. What I am using right now is: perl Makefile.PL PREP_HTTPD=1 EVERYTHING=1

RE: Can't get a mod_perl.so...

2003-09-04 Thread Garrett Goebel
Title: RE: Can't get a mod_perl.so... Rich Kosiba wrote: I've read the documentation several times and searched the web, but can't find an answer to my problem. I can't get a mod_perl.so. I believe you are looking for libperl.so -- Garrett Goebel IS Development Specialist ScriptPro

Re: Can't get a mod_perl.so...

2003-09-04 Thread Geoffrey Young
I still don't have a mod_perl.so. There are no errors anywhere. I'm using mod_perl 1.28 source. I'm running Apache 1.3.26 on Linux 2.4.18 (Slackware 8). you only get a shared object file if you compile mod_perl as a DSO, which is not the default with mod_perl 1.28. to check whether mod_perl

Re: Can't get a mod_perl.so...

2003-09-04 Thread Rich Kosiba
> I've read the documentation several times and searched > the web, but can't find an answer to my problem. I > can't get a mod_perl.so. I believe you are looking for libperl.so Even so (pun intended)... I don't get a libperl.so anywhere. I was looking for any/all .so files among the source files

apache2, mod_perl: problem with CGI

2003-09-04 Thread Bart Terryn
Hi folks, Just trying to get up and running with Apache/2.0.47 (Win32) mod_perl/1.99_10-dev Perl/v5.8.0 Server Have installed AS Perl 5.8 and the mod_perl ppm that Randy provides the world with. Running my mod_perl code using the ModPerl::Registry handler. Now everything is fine until I put the

Re: apache2, mod_perl: problem with CGI

2003-09-04 Thread Stas Bekman
[please don't reply to another thread when starting a new one. don't be surprised if your question is ignored if you do that.] Just trying to get up and running with Apache/2.0.47 (Win32) mod_perl/1.99_10-dev Perl/v5.8.0 Server Have installed AS Perl 5.8 and the mod_perl ppm that Randy

Re: Can't get a mod_perl.so...

2003-09-04 Thread Rich Kosiba
I still don't have a mod_perl.so. There are no errors anywhere. I'm using mod_perl 1.28 source. I'm running Apache 1.3.26 on Linux 2.4.18 (Slackware 8). you only get a shared object file if you compile mod_perl as a DSO, which is not the default with mod_perl 1.28. to check whether mod_perl is

Re: Can't get a mod_perl.so...

2003-09-04 Thread Geoffrey Young
perl Makefile.PL APACHE_SRC=../apache_1.3.26_modperl/ APACHE_PREFIX=/usr/local/apache EVERYTHING=1 USE_DSO=1 USE_APACI=1 APACI_ARGS='--enable-module=rewrite, --enable-module=info, --enable-module=expires, --disable-module=userdir' DO_HTTPD=1 when I use those options, I end up with

Re: [mp2] Failed to obtain the MPM name

2003-09-04 Thread Beau E. Cox
- Original Message - From: Stas Bekman [EMAIL PROTECTED] To: Beau E. Cox [EMAIL PROTECTED] Cc: [EMAIL PROTECTED] Sent: Thursday, September 04, 2003 6:45 AM Subject: Re: [mp2] Failed to obtain the MPM name Beau E. Cox wrote: Hi - 1) Downloaded (via CVS) latest mod_perl source

Re: Can't get a mod_perl.so...

2003-09-04 Thread Stas Bekman
Geoffrey Young wrote: perl Makefile.PL APACHE_SRC=../apache_1.3.26_modperl/ APACHE_PREFIX=/usr/local/apache EVERYTHING=1 USE_DSO=1 USE_APACI=1 APACI_ARGS='--enable-module=rewrite, --enable-module=info, --enable-module=expires, --disable-module=userdir' DO_HTTPD=1 when I use those options, I

Re: [mp2] Failed to obtain the MPM name

2003-09-04 Thread Stas Bekman
Beau E. Cox wrote: $BASE_DIR/$SOURCE_DIR/configure \ --enable-layout=SuSE \ that's probably the problem. You can use MP_AP_PREFIX= only if you install all apache files under the same tree, which is the default layout. Otherwise you should use the MP_APXS option pointing to apxs, which will

Re: Can't get a mod_perl.so...

2003-09-04 Thread Rich Kosiba
On Thursday, September 4, 2003, at 09:23 PM, Stas Bekman wrote: perl Makefile.PL APACHE_SRC=../apache_1.3.26_modperl/ APACHE_PREFIX=/usr/local/apache EVERYTHING=1 USE_DSO=1 USE_APACI=1 APACI_ARGS='--enable-module=rewrite, --enable-module=info, --enable-module=expires, --disable-module=userdir'

[mp2] ModPerl-Registry/t/bad_scritps.t returns 403 not 500

2003-09-04 Thread Beau E. Cox
-8-- Start Bug Report 8-- 1. Problem Description: a. ModPerl-Registry/t/bad_scritps.t returns 403 not 500. b. Console log (verbose): *** setting ulimit to allow core files ulimit -c unlimited; ./TEST -verbose 'bad_scripts.t' *** root mode: changing the

cookie managerment

2003-09-04 Thread James.Q.L
hi, in mod_perl how do i detect if users choose to reject the cookie being sent to them and/or having the cookie disable in browser ? (not javascript or other client-side scripting) so that i can print a error message remind user to enable cookie. Regards, Qiang

Re: Cookie Code

2003-09-04 Thread Perrin Harkins
On Thu, 2003-09-04 at 16:56, Tim Edwards wrote: I'm sending 3 cookies. The first one goes properly. The second two get print to the screen. Same script run under normal perl works fine. Suggestions? Show us the mod_perl part of your apache config. - Perrin -- Reporting bugs:

Preloading modules and Perl 5.6.1 vs 5.8.0

2003-09-03 Thread e-mol Development Team
I have two servers running Apache 1.3.27 and mod_perl 1.27 both severs are running identical httpd.conf and startup.pl configurations. One is running Perl 5.8.0 the other is running 5.6.1. When I do the preloading of modules on the 5.6.1 system all seems well and shared memory goes up while

RE: $r-headers_out Location and Set-Cookie

2003-09-03 Thread Garrett Goebel
Title: RE: $r-headers_out Location and Set-Cookie Geoffrey Young wrote: That's when you use Apache::compat, doing the mp1 syntax. In mp2-speak that would be: $r-err_headers_out-add('Set-Cookie' = $packed_cookie); $r-headers_out-set('Location' = $url); $r-status(REDIRECT);

Re: $r-headers_out Location and Set-Cookie

2003-09-03 Thread Geoffrey Young
Garrett Goebel wrote: Geoffrey Young wrote: That's when you use Apache::compat, doing the mp1 syntax. In mp2-speak that would be: $r-err_headers_out-add('Set-Cookie' = $packed_cookie); $r-headers_out-set('Location' = $url); $r-status(REDIRECT); notice that you don't

Process exiting prematurely

2003-09-03 Thread Flowers, Jay
I am running Windows XP, Apache 2.0.46, mod_perl 1.99, and Perl 5.8. Every request to my Perl script causes the Apache child process to exit. I have not been able to identify the issue. Below I have listed my config file (the number of threads per child is limited to ten for brevity of the log

RE: collecting unique client (computer) specific info?

2003-09-03 Thread kfr
Anyone know how to capture the UUID from a request? I've been looking all over the place and cant seem to find any reference to it anywhere ... K -Original Message- From: Roger Davenport [mailto:[EMAIL PROTECTED] Sent: Tuesday, September 02, 2003 12:55 PM To: Perrin Harkins Cc:

Re: PATCH porting.pod First Mystery

2003-09-03 Thread Brian McCauley
Stas Bekman [EMAIL PROTECTED] writes: Brian McCauley wrote: [...] Nice, but: +The easiest and the fastest way to solve the nested subroutines +problem is to change Cmy to Clocal Cour for all variables for +which you get the warning. The Chandler subroutines are never ... [...]

RE: collecting unique client (computer) specific info? [OT]

2003-09-03 Thread Ged Haywood
Hi there, On Wed, 3 Sep 2003, kfr wrote: Anyone know how to capture the UUID from a request? What makes you think there'll be one in there? I've been looking all over the place and cant seem to find any reference to it anywhere ... Try Google? 73, Ged. -- Reporting bugs:

Re: Preloading modules and Perl 5.6.1 vs 5.8.0

2003-09-03 Thread Stas Bekman
e-mol Development Team wrote: I have two servers running Apache 1.3.27 and mod_perl 1.27 both severs are running identical httpd.conf and startup.pl configurations. One is running Perl 5.8.0 the other is running 5.6.1. When I do the preloading of modules on the 5.6.1 system all seems well and

mod_perl and GD.pm segfault

2003-09-03 Thread Jason
Embedded Perl version v5.8.0 for Apache/1.3.27 (Unix) PHP/4.3.2 mod_perl/1.28 mod_ssl/2.8.14 OpenSSL/0.9.6b I am trying to use a simple script that will display an jpeg or png image using GD.pm (readily available from CPAN) I am getting [Wed Sep 3 10:41:37 2003] [notice] child pid 832 exit

Re: Process exiting prematurely

2003-09-03 Thread Stas Bekman
Flowers, Jay wrote: I am running Windows XP, Apache 2.0.46, mod_perl 1.99, and Perl 5.8. Every request to my Perl script causes the Apache child process to exit. I have not been able to identify the issue. Below I have listed my config file (the number of threads per child is limited to ten for

Re: collecting unique client (computer) specific info?

2003-09-03 Thread Stas Bekman
kfr wrote: Anyone know how to capture the UUID from a request? I've been looking all over the place and cant seem to find any reference to it anywhere ... You mean, you want to generate one? in mod_perl2/apr it'd be: use APR::UUID: my $uuid = APR::UUID-new-format; or from the command line

Re: mod_perl and GD.pm segfault

2003-09-03 Thread Stas Bekman
Jason wrote: Embedded Perl version v5.8.0 for Apache/1.3.27 (Unix) PHP/4.3.2 mod_perl/1.28 mod_ssl/2.8.14 OpenSSL/0.9.6b I am trying to use a simple script that will display an jpeg or png image using GD.pm (readily available from CPAN) I am getting [Wed Sep 3 10:41:37 2003] [notice] child pid

RE: collecting unique client (computer) specific info?

2003-09-03 Thread Perrin Harkins
On Wed, 2003-09-03 at 12:22, kfr wrote: Anyone know how to capture the UUID from a request? According to the mod_ssl manual, it is stored in an environment variable called SSL_SESSION_ID. - Perrin -- Reporting bugs: http://perl.apache.org/bugs/ Mail list info:

RE: Process exiting prematurely

2003-09-03 Thread Flowers, Jay
Jay, I can't see from your error_log what problem you are talking about. Apache always starts and immediately restarts, so what you see is normal. It does not work this way on my Windows 2000 server machines. After every request it restarts the Apache Child Process, even though the config

RE: Process exiting prematurely

2003-09-03 Thread Roger Davenport
Possibly change the MaxRequestsPerChild to 100 and see if it still restarts? Roger On Wed, 2003-09-03 at 13:17, Flowers, Jay wrote: Jay, I can't see from your error_log what problem you are talking about. Apache always starts and immediately restarts, so what you see is normal. It does

RE: Process exiting prematurely

2003-09-03 Thread Flowers, Jay
Possibly change the MaxRequestsPerChild to 100 and see if it still restarts? Roger no joy. Thanks Jay Flowers Systems Engineer Integic Corp.

Re: collecting unique client (computer) specific info?

2003-09-03 Thread John Saylor
hi ( 03.09.03 10:42 -0700 ) Stas Bekman: You mean, you want to generate one? in mod_perl2/apr it'd be: is there an equivalent in mod_perl1? -- \js -- Reporting bugs: http://perl.apache.org/bugs/ Mail list info: http://perl.apache.org/maillist/modperl.html

Re: collecting unique client (computer) specific info?

2003-09-03 Thread Stas Bekman
John Saylor wrote: hi ( 03.09.03 10:42 -0700 ) Stas Bekman: You mean, you want to generate one? in mod_perl2/apr it'd be: is there an equivalent in mod_perl1? I'm sure there are a few modules on CPAN that you can use. Again I'm talking about generating UUD, not extracting the SSL one. Perrin

Re: Process exiting prematurely

2003-09-03 Thread Stas Bekman
Flowers, Jay wrote: That is the bugger of it, there is no error, it's a behavior that I noticed. Every request is slow because it needs to restart the Apache Child process. It feels much slower than CGI on IIS. Do you get this behavior with some particular script or just any kind? Does the

Re: collecting unique client (computer) specific info?

2003-09-03 Thread Perrin Harkins
On Wed, 2003-09-03 at 15:03, John Saylor wrote: is there an equivalent in mod_perl1? Use Data::UUID from CPAN or mod_unique_id. Note that this (and the mod_perl 2 approach Stas posted) has nothing to do with identifying the actual client, which is what the original question on this thread was

Re: Preloading modules and Perl 5.6.1 vs 5.8.0

2003-09-03 Thread Stas Bekman
[make sure to keep the replies on the list. Thank you!] e-mol Development Team wrote: diff -u 5.6.1.txt 5.8.0.txt The two builds are quite different, I have pointed out below at least a few major differences. [EMAIL PROTECTED] src]# diff -u 5.6.1.txt 5.8.0.txt --- 5.6.1.txt 2003-09-03

[mp2] executing subprocesses from mod_perl

2003-09-03 Thread Haroon Rafique
Hi listers, Just needed a quick opinion: http://perl.apache.org/docs/2.0/api/Apache/SubProcess.html suggests that Apache::SubProcess be used for executing subprocesses. Howerver, in an earlier list message, http://marc.theaimsgroup.com/?l=apache-modperlm=102541721726752w=2 Stas had suggested

RE: collecting unique client (computer) specific info?

2003-09-03 Thread kfr
I'm able to see it now ... had to re-compile my server with mod_ssl (not apache-ssl) and I can see the SSL_SESSION_ID. So I take it there's no way to decrypt that and grab anything useful out of it other than it's one time uniqueness? The doc's state its a combo of a few different parameters

Re: [mp2] executing subprocesses from mod_perl

2003-09-03 Thread Stas Bekman
Haroon Rafique wrote: Hi listers, Just needed a quick opinion: http://perl.apache.org/docs/2.0/api/Apache/SubProcess.html suggests that Apache::SubProcess be used for executing subprocesses. Howerver, in an earlier list message, http://marc.theaimsgroup.com/?l=apache-modperlm=102541721726752w=2

RE: Process exiting prematurely

2003-09-03 Thread Flowers, Jay
Title: Re: Process exiting prematurely Do you get this behavior with some particular script or just any kind? Doesthe same script work fine as mod_cgi?All scripts, work the same. They work fine under mod_cgi.

RE: collecting unique client (computer) specific info? [OT]

2003-09-03 Thread Ged Haywood
Hi there, On Wed, 3 Sep 2003, kfr wrote: had to re-compile my server with mod_ssl :) the hardware address is really what I'm after. What hardware? 73, Ged. -- Reporting bugs: http://perl.apache.org/bugs/ Mail list info: http://perl.apache.org/maillist/modperl.html

RE: collecting unique client (computer) specific info? [OT] [x-adr][x-bayes]

2003-09-03 Thread Garrett Goebel
Title: RE: collecting unique client (computer) specific info? [OT] [x-adr][x-bayes] Ged Haywood wrote: On Wed, 3 Sep 2003, kfr wrote: the hardware address is really what I'm after. What hardware? He's looking for a MAC address, cpu id, etc. something to fix the identity of the

Re: Process exiting prematurely

2003-09-03 Thread Stas Bekman
Flowers, Jay wrote: Do you get this behavior with some particular script or just any kind? Does the same script work fine as mod_cgi? All scripts, work the same. They work fine under mod_cgi. Do normal handlers behave the same way? i.e. if you don't use registry but a complete handler:

RE: collecting unique client (computer) specific info? [OT] [x-adr][x-bayes]

2003-09-03 Thread kfr
Yep ... that's what I've discoverd: http://www.webdav.org/specs/draft-leach-uuids-guids-01.txt from section 3.5 ... I was assuming there was some way to parse and decrypt the mac address from: The following is an example of the string representation of a UUID:

RE: collecting unique client (computer) specific info? [OT][x-adr][x-bayes]

2003-09-03 Thread Ged Haywood
Hi there, On Wed, 3 Sep 2003, kfr wrote: http://www.webdav.org/specs/draft-leach-uuids-guids-01.txt from section 3.5 ... I was assuming there was some way to parse and decrypt the mac address from: The following is an example of the string representation of a UUID:

Re: PATCH porting.pod First Mystery

2003-09-03 Thread Stas Bekman
[...] In effect you use local() to undef the variable, instead of explicitly initializing it. Why not doing this explictly? Firstly it's conceptually neater to use local. I want to think of the variable as local rather than as a global variable that needs to be explicitly reset. local is

Re: PATCH porting.pod First Mystery

2003-09-03 Thread Perrin Harkins
On Wed, 2003-09-03 at 21:24, Stas Bekman wrote: [...] In effect you use local() to undef the variable, instead of explicitly initializing it. Why not doing this explictly? Firstly it's conceptually neater to use local. I want to think of the variable as local rather than as a global

Re: Process exiting prematurely

2003-09-03 Thread Randy Kobes
On Wed, 3 Sep 2003, Stas Bekman wrote: Flowers, Jay wrote: Do you get this behavior with some particular script or just any kind? Does the same script work fine as mod_cgi? All scripts, work the same. They work fine under mod_cgi. Do normal handlers behave the same way? i.e. if

Re: PATCH porting.pod First Mystery

2003-09-03 Thread Stas Bekman
Perrin Harkins wrote: To summarize: - move the perl4 lib solution to the perl_reference.pod - suggest replacing my() with our() to avoid the closure, however this change requires that the variables will be initialized before used in most cases (example of 'open our $foo' which doesn't need to

Re: Apache::Test fails make test on Debian

2003-09-03 Thread Stas Bekman
Jens Porup wrote: Greetings all, When I try to install Apache::Test on my Debian-based Libranet Linux system, make test fails as below. I have searched the archives--correctly, I hope!--but nothing has turned up. speculation--does this have something to do with Debian calling apache

Re: Apache::Session and pnotes

2003-09-02 Thread Perrin Harkins
Xavier Noria wrote: It seems, however, that Apache::Session objects stop being stored when I put the session in pnotes() with a code analogous to this: Can you tell us more about the problem is? What do you see when you take the session hash back out of pnotes? my $r =

Re: Apache::Session extra record not write to Mysql db.

2003-09-02 Thread Perrin Harkins
James.Q.L wrote: before i had three fields in table sessions : a_session,id,time in the DB. Did you add code of your own to update the time column? and updating table etc from the program was working just fine. however, after i added one more field (username) to the sessions table through

Re: Apache::Session extra record not write to Mysql db.

2003-09-02 Thread James.Q.L
--- Perrin Harkins [EMAIL PROTECTED] wrote: James.Q.L wrote: before i had three fields in table sessions : a_session,id,time in the DB. Did you add code of your own to update the time column? no. and updating table etc from the program was working just fine. however, after i added

Re: Apache::Session extra record not write to Mysql db.

2003-09-02 Thread Anton Permyakov
$session{'time'} = time();## this updates 'time' record But it doesn't update the time column in the database unless you hacked the Apache::Session code to do that. now i don't know why the time record gets updated. isn't it suppose to update the one in a_session? I guess

Re: Apache::Session extra record not write to Mysql db.

2003-09-02 Thread Perrin Harkins
On Tue, 2003-09-02 at 00:13, James.Q.L wrote: --- Perrin Harkins [EMAIL PROTECTED] wrote: Did you add code of your own to update the time column? no. Maybe you added the time column as an automatic timestamp column? There is no time column in the schema described in the Apache::Session

Re: Apache::Session and pnotes

2003-09-02 Thread Xavier Noria
On Tuesday 02 September 2003 07:46, you wrote: (I am sorry I am not replying to the actual email, but to a forwarded copy from my desktop at home.) It seems, however, that Apache::Session objects stop being stored when I put the session in pnotes() with a code analogous to this: Can you

ANNOUCE: Loggerithim 6.4.1

2003-09-02 Thread Cory 'G' Watson
Loggerithim is a package for monitoring, visualizing, and managing your systems using remote agents and a web interface. Changes in this version: Frontend: - Remove some unnecessary code from Lists object. - Bring Commander up-to-date with Agent interface Agent: - Fix issues with agent's

post max and MP2

2003-09-02 Thread Tofu Optimist
Hello -- I'm moving a module from MP1 to MP2. What is the MP2 equivalent of this code? Thanks! code my $q = Apache::Request-new($r, POST_MAX = 10 * 1024, DISABLE_UPLOADS = 1); $q-no_cache(1); /code __ Do you

post max and MP2

2003-09-02 Thread Tofu Optimist
Hello -- I'm moving a module from MP1 to MP2. What is the MP2 equivalent of this code? Thanks! code my $q = Apache::Request-new($r, POST_MAX = 10 * 1024, DISABLE_UPLOADS = 1); $q-no_cache(1); /code __ Do you

collecting unique client (computer) specific info?

2003-09-02 Thread kfr
Any one out there know of some way, either from java or SLL or some other combination, to collect any kind of machine specific information from a web client logging into a site with SSL (Apache/mod_perl mod_ssl)? I need to find some way to uniquely identify a 'machine', like possible grabbing

Re: Apache::Session and pnotes

2003-09-02 Thread Perrin Harkins
On Tue, 2003-09-02 at 05:02, Xavier Noria wrote: Can you tell us more about the problem is? What do you see when you take the session hash back out of pnotes? I have dumped the hash in a content handler and it seems to be OK. Okay, then what is the problem that you're asking for help with

Re: post max and MP2

2003-09-02 Thread Issac Goldstand
Right now Apache::Request is in the final proting stages... Until it's done, jjust request Apache::Request with CGI Issac - Original Message - From: Tofu Optimist [EMAIL PROTECTED] To: [EMAIL PROTECTED] Sent: Tuesday, September 02, 2003 6:43 PM Subject: post max and MP2 Hello --

Re: PATCH porting.pod First Mystery

2003-09-02 Thread Stas Bekman
Brian McCauley wrote: [...] Nice, but: +The easiest and the fastest way to solve the nested subroutines +problem is to change Cmy to Clocal Cour for all variables for +which you get the warning. The Chandler subroutines are never ... [...] + local our $counter = 0; local our? That should be

RE: collecting unique client (computer) specific info?

2003-09-02 Thread kfr
Yes, sorry. I have a site that allows my customers to become members via monthly credit card subscription. The problem is we've been getting fraudulent credit card transactions and need some mechanism to detect a user who is a repeat offender so I can detect them trying to submit yet another

self_url MP2 w/o CGI

2003-09-02 Thread Tofu Optimist
Hi folks -- I'm using MP2, and I am trying to avoid loading CGI for 2 reasons: (1) To save memory. (2) When I do load CGI, it fails at the require Apache (line 161), and I'd prefer not to edit CGI on my server. Uck. Given I'm not loading CGI, how can I determine self_url() in MP2? I tried

Re: self_url MP2 w/o CGI

2003-09-02 Thread Stas Bekman
Tofu Optimist wrote: Hi folks -- I'm using MP2, and I am trying to avoid loading CGI for 2 reasons: (1) To save memory. (2) When I do load CGI, it fails at the require Apache (line 161), and I'd prefer not to edit CGI on my server. Uck. Given I'm not loading CGI, how can I determine

Re: Apache::Session and pnotes

2003-09-02 Thread Xavier Noria
On Tuesday 02 September 2003 07:28, Perrin Harkins wrote: Sorry, I don't understand what you're saying here. What you should be doing is fetching the session once, putting it in pnotes, and getting it from pnotes for the rest of the request. I am sorry, I'll try to reword it. Let's assume a

RE: collecting unique client (computer) specific info?

2003-09-02 Thread Perrin Harkins
On Tue, 2003-09-02 at 14:23, kfr wrote: Yes, sorry. I have a site that allows my customers to become members via monthly credit card subscription. The problem is we've been getting fraudulent credit card transactions and need some mechanism to detect a user who is a repeat offender so I can

Re: collecting unique client (computer) specific info?

2003-09-02 Thread Perrin Harkins
On Tue, 2003-09-02 at 13:24, kfr wrote: Any one out there know of some way, either from java or SLL or some other combination, to collect any kind of machine specific information from a web client logging into a site with SSL (Apache/mod_perl mod_ssl)? I need to find some way to uniquely

Re: self_url MP2 w/o CGI

2003-09-02 Thread Stas Bekman
Tofu Optimist wrote: Thanks. How do I call construct_uri? You just call $r-construct_url. In your example that would be: $r-headers_out-set(Location = $r-construct_url . r2=1); __ Stas BekmanJAm_pH -- Just

Re: self_url MP2 w/o CGI

2003-09-02 Thread Stas Bekman
[please keep the thread on the list!] Tofu Optimist wrote: :( [Tue Sep 02 15:22:53 2003] [error] [client 192.168.1.2] Can't locate object method construct_url via package Apache::RequestRec at /home//mod-perl/Redirect.pm line 59. Do I need to load it or something? in mp2 you need to load

Custom Log files Under MP2

2003-09-02 Thread Tofu Optimist
I would like to append a small line of log information to a file on certain apache2 requests. For this application, I am very concerned about speed, so i'm looking for fast simple solutions. I could stuff the information in the error log as per

Re: Custom Log files Under MP2

2003-09-02 Thread Stas Bekman
Tofu Optimist wrote: I would like to append a small line of log information to a file on certain apache2 requests. For this application, I am very concerned about speed, so i'm looking for fast simple solutions. I could stuff the information in the error log as per

Re: Custom Log files Under MP2

2003-09-02 Thread Geoffrey Young
Tofu Optimist wrote: I would like to append a small line of log information to a file on certain apache2 requests. For this application, I am very concerned about speed, so i'm looking for fast simple solutions. if speed is the concern, just stick to apache's native logging mechanism. see

Re: PATCH porting.pod First Mystery

2003-09-01 Thread Brian McCauley
Stas Bekman [EMAIL PROTECTED] writes: [EMAIL PROTECTED] wrote: In private mail Stas Bekman [EMAIL PROTECTED] writes: oops, that should be the modperl list... at modperl-docs we discuss mostly site/docs techical issues and there are very few people on this list to get enough exposure for

Apache::Session and pnotes

2003-09-01 Thread Xavier Noria
I am trying to retrieve/create an Apache::Session object for a given user in the authentication phase, so the following handlers have them available via pnotes. Sessions are stored in an Oracle database. It seems, however, that Apache::Session objects stop being stored when I put the session

Apache::Session extra record not write to Mysql db.

2003-09-01 Thread James.Q.L
i am experiencing a weird problem with the use of apache::session::mysql before i had three fields in table sessions : a_session,id,time in the DB. and updating table etc from the program was working just fine. however, after i added one more field (username) to the sessions table through

Re: PATCH porting.pod First Mystery

2003-08-30 Thread Stas Bekman
[EMAIL PROTECTED] wrote: In private mail Stas Bekman [EMAIL PROTECTED] writes: oops, that should be the modperl list... at modperl-docs we discuss mostly site/docs techical issues and there are very few people on this list to get enough exposure for this kind of feedback request. Patch for The

Re: Apache::DProf problems

2003-08-30 Thread Brian Hirt
i'll double check, but i'm fairly certain it's loaded first. what if a module is loaded after the fact, but like this: eval { use $module }; some modules are dynamically loaded at run time depending on certain situations. On Friday, August 29, 2003, at 04:26 PM, Stas Bekman wrote: Brian

Re: Apache::DProf problems

2003-08-30 Thread Perrin Harkins
On Sat, 2003-08-30 at 15:34, Brian Hirt wrote: i'll double check, but i'm fairly certain it's loaded first. If you post your conf, we could probably help you more. what if a module is loaded after the fact, but like this: eval { use $module }; Doesn't matter. You just have to initialize

Apache::DBI

2003-08-29 Thread
Hello, every body I can run the following subroutine in DBI, but Apache::DBI... use DBI; sub connect{ $dbh = DBI-connect(dbi:Pg:dbname=test, canis,3dsadasz); $sth = $dbh-prepare(SELECT clave, denominacion FROM Marca) || die $dbh-errstr; $sth-execute() || die

Re: Apache::DBI

2003-08-29 Thread Michael A Nachbaur
It looks like your PostgreSQL installation is trying to do IDENT authentication, instead of MD5. So, it's checking the user your script is running as, and trusting that since you managed to log on with your username/password already, it'll trust you to log into the database. While this isn't

Apache::DBI

2003-08-29 Thread
I can run the following code with DBI but in Apache::DBI. #!/usr/bin/perl -w use DBI; sub connect{ $dbh = DBI-connect(dbi:Pg:dbname=test, canis,$password); $sth = $dbh-prepare(SELECT clave, denominacion FROM Marca) || die $dbh-errstr; $sth-execute() || die $sth-errstr; while(my $row =

SOAP::Lite in mod_perl...

2003-08-29 Thread simran
Hi All, I'm having a weird problem using SOAP::Lite in one of my mod_perl modules. A snippet of my code is: sub _dispatch { my $self = shift; my $proxy = http://our.stats.server.com.au/soap/script.cgi;; my

Re: SOAP::Lite in mod_perl...

2003-08-29 Thread Perrin Harkins
simran wrote: The above code works perfectly on: * On dev server in a standalone script * On our dev server under: Apache/1.3.27 (Unix) mod_ssl/2.8.12 OpenSSL/0.9.6c DAV/1.0.3 mod_perl/1.27 * Our live server as a standalong script The code does not work on our live server under: * Live

using -| construct

2003-08-29 Thread Michael
I have a web service that need to get stuff from the system and is using the following subroutine to retrieve info. sub systeminfo { if (open(FROMADMIN,-|)) { # parent undef local $/; my $rv = FROMADMIN; # get response close FROMADMIN; return $rv; } else {

Re: using -| construct

2003-08-29 Thread Stas Bekman
Michael wrote: I have a web service that need to get stuff from the system and is using the following subroutine to retrieve info. sub systeminfo { if (open(FROMADMIN,-|)) { # parent [...] This works fine for command line exection and from cgi but fails in modperl (apache 1x). The problem

Re: SOAP::Lite in mod_perl...

2003-08-29 Thread simran
Thanks Perrin. I'll try a recompile with Apache 1.27 as suggested... not brave enough to eventually put a patched 1.28 on our live server yet :-) simran. On Fri, 2003-08-29 at 11:25, Perrin Harkins wrote: simran wrote: The above code works perfectly on: * On dev server in a

<    1   2   3   4   5   6   7   8   9   10   >