Inconsistency about latest version

2013-09-07 Thread Martin von Gagern
consistent. Thanks a lot, Martin von Gagern signature.asc Description: OpenPGP digital signature

Re: GnuPG module producing empty file

2009-10-23 Thread Laurent MARTIN
Has anyone on the list some experience with mod_perl and an alternative to GnuPG module (which is "simply" a wrapper around pgp binary). I use GnuPG::Interface, and it works fine. Thank you! I'll try that. Laurent.

Re: GnuPG module producing empty files

2009-10-19 Thread Laurent MARTIN
ct. 2009, at 08:26, Cees Hek wrote: On Fri, Oct 16, 2009 at 1:12 AM, Laurent MARTIN wrote: Hi! I've recently upgraded one of my old website to mod_perl (ModPerl::PerlRun) and I'm not able to make GnuPG (0.10) work properly :/ As soon as I try to encrypt a plaintext file, I get

GnuPG module producing empty files

2009-10-15 Thread Laurent MARTIN
; option set to true: protocol error: expected SHM_GET_XXX got \n at /usr/lib/perl5/ site_perl/5.8.5/GnuPG.pm line 154 Any clue? Thanks in advance :) -- Laurent MARTIN

broken link in online mod_perl documentation

2008-04-09 Thread Martin Armbrecht
erl 2.0 startup process section section for details' should be enough, should'nt it? Regards Martin -- "Love is an ideal thing, marriage a real thing; a confusion of the real with the ideal never goes unpunished." -- Goethe

Re: proxy question

2008-01-31 Thread Martin Moss
thanks :) - Original Message From: Heiko Jansen <[EMAIL PROTECTED]> To: Martin Moss <[EMAIL PROTECTED]> Cc: modperl Sent: Thursday, 31 January, 2008 12:28:14 PM Subject: Re: proxy question Am Donnerstag, den 31.01.2008, 11:31 +0000 schrieb Martin Moss: > does mod_pro

proxy question

2008-01-31 Thread Martin Moss
Hi all, does mod_proxy provide more than round robin load balancing functionlity? I'd been told it could, but I can't find anything in the docs.. Martin __ Sent from Yahoo! Mail - a smarter inbox http://uk.mail.yahoo.com

Re: Pb w/ Archive::Zip under Mac OS X 10.5

2007-11-15 Thread Laurent MARTIN
Did you upgrade this machine though? It's possible that you had a different perl before and that Archive::Zip was compiled with it. Finally, yesterday evening, I've fully compiled and installed Apache2, mod_perl2, Apache2::Request by myself: things are going much better and problems I had (cr

Re: Pb w/ Archive::Zip under Mac OS X 10.5

2007-11-14 Thread Laurent MARTIN
Did you upgrade this machine though? It's possible that you had a different perl before and that Archive::Zip was compiled with it. No, my version of Archive::Zip has just been downloaded from CPAN and compiled w/ the same Perl release as mod_perl.so (by me, so). I don't know enough about ho

Re: Pb w/ Archive::Zip under Mac OS X 10.5

2007-11-14 Thread Laurent MARTIN
That sounds like the perl you compiled this module with (and that you use when you run CGI) is not the same as the one you compiled mod_perl with. Perrin, thank you for your help on this. I've checked my whole disk and I've got only one 'perl' binary, ie. the one provided with Leopard (I haven

Pb w/ Archive::Zip under Mac OS X 10.5

2007-11-13 Thread Laurent MARTIN
Hi! Following my tests of Apache 2.2.6 & mod_perl 2.0.3 under Mac OS X (aka Leopard), I've noticed something wrong with Archive::ZIP. See the simple "p3.pl" script below: use strict; use warnings; use Archive::Zip; print <[Tue Nov 13 21:58:00 2007] [error] is only avaliable with the XS

Re: Prob. installing libapreq2 under Leopard

2007-11-11 Thread Laurent MARTIN
I've neglected to look into the modules folder before I started compiling. Is yours timestamped on the 24/09? Does that one work? Any differences with the compiled one? See the stamp below: -rwxr-xr-x 1 root wheel 864840 24 sep 04:21 mod_perl.so In fact, I haven't tried to compile mod_perl

Re: Prob. installing libapreq2 under Leopard

2007-11-11 Thread Laurent MARTIN
Hi Hendrik! Thank you for your help: things are going much better now, as mod_apreq2.so loads well now! Thank you. Something I've noticed: you said that mod_perl wasn't included with Leopard but I haven't installed it by myself. I've found a mod_perl.so file in /usr/libexec/apache2: don't y

Prob. installing libapreq2 under Leopard

2007-11-11 Thread Laurent MARTIN
Hi there! I'm trying to install libapreq2 under my newly installed Mac OS X 10.5 on a MacBook Pro (Core Duo 2, SantaRosa), but something must be wrong in what I'm doing as Apache refuses to launch as soon as I add the following to the httpd.conf file: LoadModule apreq_module libexec/apache

set request params

2007-09-28 Thread martin
as i see there is no way to set request parameter in mod_perl2 is there any chance this could happen in near future releases?

Re: Where is Perl compilation output when using modperl ?

2007-06-29 Thread Lionel MARTIN
Hello, Just to confrm that I have the same symptom as yours when I was developing on Win32: when a module couldn't load, the only thing I could get was a bare "Can't load module", without any explanation. Then, th eonly thing I could do was trying to isolate the problem, progressively strippin

Re: Howto develop with modperl 2 ? (Restart Apache all the time ?)

2007-06-21 Thread Lionel MARTIN
Yes, easily. In any of your handler, you make a reference to one test module. For example, in your response handler: use myModule(); use Apache2::Const -compile => qw(OK); sub handler { myModule::printHello(); return Apache2::Const::OK; } 1; And then: myModule.pm: sub printHello { print

Re: Howto develop with modperl 2 ? (Restart Apache all the time ?)

2007-06-19 Thread Lionel MARTIN
Hi, You can put that in your Apache conf file: PerlModule Apache2::Reload PerlInitHandler Apache2::Reload This way, every time you alter one of your Apache modules, it gets reloaded. This incurs a small performance hit (the server has to fstat the related files every time a request is run, to

Re: which module for this purpose?

2007-06-14 Thread Lionel MARTIN
All you need to do (assuming mod_perl2) is: - set the content-type (to whatever file type you are sending) - use $r->sendfile('filename') See http://perl.apache.org/docs/2.0/api/Apache2/RequestIO.html#C_sendfile_ Clint Unless Im mistaken, why not use instead the Apache default handler for th

Re: Loading Win32::OLE in a modperl package

2007-06-08 Thread Lionel MARTIN
Hi again, Did you try finally try out with Apache 2.0? If this works with Apache 2.0, but not with Apache 2.2, then, it would perhaps be useful to point this out. Lionel. - Original Message - From: "Foo JH" <[EMAIL PROTECTED]> To: "Lionel MARTIN" <[E

Re: Loading Win32::OLE in a modperl package

2007-06-08 Thread Lionel MARTIN
ionel. - Original Message - From: "Foo JH" <[EMAIL PROTECTED]> To: "Lionel MARTIN" <[EMAIL PROTECTED]> Cc: "mod_perl" Sent: Friday, June 08, 2007 10:43 AM Subject: Re: Loading Win32::OLE in a modperl package Thanks Lionel, I'm running Ap

Re: Loading Win32::OLE in a modperl package

2007-06-08 Thread Lionel MARTIN
Basically, Doing, in test.pl, run by ModPel::Registry, something like: use Win32::OLE; print 'Hello'; Works prefectly... Which versions (Apache, MP and Perl) are you running? - Original Message - From: "Foo JH" <[EMAIL PROTECTED]> To: "mod_perl" Sent: Friday, June 08, 2007 10:29 A

Re: Is it advisable NOT to limit MaxRequestsPerChild in Win32 modperl?

2007-05-25 Thread Lionel MARTIN
nd as well signal this bug to Apache Win32 porters. (are you subscribed to any Apache mailing list?) Lionel. - Original Message - From: "Foo JH" <[EMAIL PROTECTED]> To: "Lionel MARTIN" <[EMAIL PROTECTED]> Cc: "Perrin Harkins" <[EMAIL PROT

Re: Is it advisable NOT to limit MaxRequestsPerChild in Win32 modperl?

2007-05-25 Thread Lionel MARTIN
- From: "Foo JH" <[EMAIL PROTECTED]> To: "Lionel MARTIN" <[EMAIL PROTECTED]> Cc: "Perrin Harkins" <[EMAIL PROTECTED]>; Sent: Friday, May 25, 2007 10:29 AM Subject: Re: Is it advisable NOT to limit MaxRequestsPerChild in Win32 modperl? Hello Perri

Re: Is it advisable NOT to limit MaxRequestsPerChild in Win32 modperl?

2007-05-24 Thread Lionel MARTIN
Unless I'm mistaken, and even if there is only one (child) Apache process and several thread under Windows (winnt MPM), the only directive that can be used is MaxRequestsPerChild and not MaxRequestsPerThread. It is not possible to restart individual threads (and associated Perl Interpreteers)

Re: After retrieving data from DB, the memory doesn't seem to be freed up

2007-05-12 Thread Lionel MARTIN
On 5/12/07, Lionel MARTIN <[EMAIL PROTECTED]> wrote: Of course, I understand why $tmp value is reset during each call (the lexical variable goes out of scope) but, as we can see, the address used by the variable is changing as well during each request, and this fact doesn't seem

Re: After retrieving data from DB, the memory doesn't seem to befreed up

2007-05-12 Thread Lionel MARTIN
messes up the results... All that is surprising, isn't it? Does anyone has any explanation? Anyway, if noone can explain that, I think I'll stop trying to understand everything and just assume that lexical are keeping their memory block, even if this doesn't seem to always be the

Re: After retrieving data from DB, the memory doesn't seem to be freed up

2007-05-11 Thread Lionel MARTIN
Hi all (and Perrin), I understand the concepts being discussed here. However, no on replied one of my questions: Let's conside this script: #** use strict; package mypack; my $tmp; $tmp .= 'a'; print '$tmp value: ' . $tmp . ' - address: ' . \$tmp . "\n"

Re: After retrieving data from DB, the memory doesn't seem to be freed up

2007-05-11 Thread Lionel MARTIN
-another example hat comes to my mind is a project (implemented in PHP) where I had to work. Part of the process was retrieving cached HTML template pages from the server and do BB tags parsing before serving the client. Of course, you would tell me that I could retrieve the data chunk by c

Re: After retrieving data from DB, the memory doesn't seem to be freed up

2007-05-11 Thread Lionel MARTIN
(sorry, I posted the message below from another email address hours ago, and it didn't get publish - see below if anyone could reply) On May 10, 2007, at 6:52 PM, Andy Armstrong wrote: On 10 May 2007, at 23:48, Jonathan Vanasco wrote: that also means that variables are sticky -- if you chang

Re: After retrieving data from DB, the memory doesn't seem to befreed up

2007-05-11 Thread Lionel MARTIN
Hi, I think you got me wrong. My initial question was basically something like "how could I preserve/give back memory if needed" (i.e. in rare situations) and the reply turned up into a "don't use large scalars". (which is relevant, I agree, but was not directly replying my initial question)

Re: After retrieving data from DB, the memory doesn't seem to be freed up

2007-05-11 Thread Lionel MARTIN
Lionel MARTIN wrote: - Don't load large amounts of data into scalars. Fine. Now I know why. But sometimes, you don't have the choice. I'd like to know what situations you encounter where you are forced to load large amounts of data into scalars. I can't think of any

Re: After retrieving data from DB, the memory doesn't seem to be freed up

2007-05-11 Thread Lionel MARTIN
Hi again, If you have a lot of scripts that, for example, load large data files, make a module with a sub that you call to load the files and use it from all your scripts. Pass the data by reference to the calling scripts. Then you will isolate the large lexical in that one module. Better ye

Re: After retrieving data from DB, the memory doesn't seem to be freed up

2007-05-11 Thread Lionel MARTIN
Hi Perrin, No, if the message you're getting is to use globals instead of lexicals then you've got it all wrong. - Use lexicals for everything, unless you actually want the value to persist across requests. I was thinking, for large amounts of data, about using globals. Indeed, imagine you hav

Re: After retrieving data from DB, the memory doesn't seem to be freed up

2007-05-10 Thread Lionel MARTIN
I would even say PER THREAD or PER PERL INTERPRETER. Indeed, I'm running Per/mod perl under Windows, and there's one unique Apache process (except the parent one) hosting all perl interpreters. Something to ask about modperl and memory in Windows. I know modperl uses threads in Windows. But do

Re: After retrieving data from DB, the memory doesn't seem to be freed up

2007-05-10 Thread Lionel MARTIN
Thanks for this. well, to complicate things, this behavior is PER CHILD... meaning: if you run test1.pl 2x and they are both served by the same apache child, then the memory will be reused. if you run test1.pl 2x and they are both served by the different apache children, then the memory wi

Re: After retrieving data from DB, the memory doesn't seem to be freed up

2007-05-10 Thread Lionel MARTIN
- Original Message - From: "Andy Armstrong" <[EMAIL PROTECTED]> To: "Lionel MARTIN" <[EMAIL PROTECTED]> Cc: Sent: Friday, May 11, 2007 12:34 AM Subject: Re: After retrieving data from DB, the memory doesn't seem to be freed up On 10 May 2007

Re: After retrieving data from DB, the memory doesn't seem to be freed up

2007-05-10 Thread Lionel MARTIN
ame memory locations are used across different scripts. (which is not the case with lexical variables) Thanks for all your help, I now have a clearer picture. Lionel. - Original Message - From: "Perrin Harkins" <[EMAIL PROTECTED]> To: "Lionel MARTIN" <[E

Re: After retrieving data from DB, the memory doesn't seem to be freed up

2007-05-10 Thread Lionel MARTIN
unning the script twice in a mod perl environment)? Lionel. - Original Message - From: "Perrin Harkins" <[EMAIL PROTECTED]> To: "Lionel MARTIN" <[EMAIL PROTECTED]> Cc: Sent: Friday, May 11, 2007 12:17 AM Subject: Re: After retrieving data from DB, the memor

Re: After retrieving data from DB, the memory doesn't seem to be freed up

2007-05-10 Thread Lionel MARTIN
-I'll try to use, in my Perl scripts, lexical variables instead of global variables, so that I'm sure the used memory can be resued for later requests (global variables, on the other hand, stick in memory, due to mod perl way of operating) Not really. In terms of memory, there's no differenc

Re: After retrieving data from DB, the memory doesn't seem to be freed up

2007-05-10 Thread Lionel MARTIN
When the array goes out of scope its reference count is decremented. If the reference count goes to zero (implying there are no more references) the memory is released. I would have believed the same, and that's why I believed that $tmp = [0..10]; followed by $tmp = 1; would free memor

Re: After retrieving data from DB, the memory doesn't seem to be freed up

2007-05-10 Thread Lionel MARTIN
in memory, due to mod perl way of operating) I found an interesting topic here: http://www.nntp.perl.org/group/perl.perl5.porters/2006/03/msg111095.html Lionel. - Original Message - From: "Perrin Harkins" <[EMAIL PROTECTED]> To: "Lionel MARTIN" <[EMAIL PROTECTE

Re: After retrieving data from DB, the memory doesn't seem to be freed up

2007-05-10 Thread Lionel MARTIN
ng large amounts of data, I should undef if possible the variables before allocating others, so that processes don't grow too big? Thanks, Lionel. ----- Original Message - From: "Perrin Harkins" <[EMAIL PROTECTED]> To: "Lionel MARTIN" <[EMAIL PROTECTE

After retrieving data from DB, the memory doesn't seem to be freed up

2007-05-10 Thread Lionel MARTIN
Hi, I am running an Apache 2.059 server, on a Win32 platform (Perl 5.8 & mod_perl 2.03). During the lifetime of the server, I cn see that the memory footprint of the Apache process is getting bigger and bigger, so I would like to understand why. I can't say this is really a problem, but I woul

Re: Apache::DBI - Can two different connection handles have the same reference/address at different times?

2007-05-08 Thread Lionel MARTIN
Yes absolutely. What you are trying to do is re-invent some of the existing functionality of both Apache::DBI and DBI. DBI can cache prepared statements so you don't have to prepare them everytime and Apache::DBI can pool those statements' connections so you don't have to re-create them everytime.

Re: Apache::DBI - Can two different connection handles have the same reference/address at different times?

2007-05-08 Thread Lionel MARTIN
OK Fine. But will this be compatible with Apache::DBI? Moreover, I would be happy to have a reply to my original question, at least for the sake of knowledge. Thanks. - Original Message - From: "Michael Peters" <[EMAIL PROTECTED]> To: "Lionel MARTIN" <

Apache::DBI - Can two different connection handles have the same reference/address at different times?

2007-05-07 Thread Lionel MARTIN
Hello, As you know, use Apache::DBI; DBI->connect() returns a db/connection handle. I am wondering if it is possible, at different times during the server life, that Apache::DBI returns twice the same memory reference, while the connection is in fact physically not the same. The reason f

Re: regex quickie

2007-04-26 Thread Martin Moss
h seems this worked today.. Server restart musta failed when it didn't seem to work.. if ($string =~ /($pattern_match)/i) --- Martin Moss <[EMAIL PROTECTED]> wrote: > > I'm looking for a regex which will help me do this.. > > $string = 'google.com/?q=tes

regex quickie

2007-04-26 Thread Martin Moss
I'm looking for a regex which will help me do this.. $string = 'google.com/?q=test'; $pattern_match = 'google|yahoo|msn'; What I would like to do is test if $string contains one of the patterns in the pattern match and then carry out a function based upon which pattern is matched... e.g. if (

Weird startup includes

2007-04-26 Thread Martin Moss
I seem to have something weird going on. a Module I've written seems to be being included twice at server startup, but the second time its included the Apache::ServerStarting flag is set to 0... and is therefore causing all sorts of grief... (e.g. $dbh being forked).. Ive never noticed before that

Re: Charts and Graphs

2007-04-13 Thread martin
> On Thursday 12 April 2007 19:15, Bill Whillers wrote: >> Hello, >> >> I'm wondering what people are using for efficiently generating charts >> and >> graphs on the fly from within a mod_perl environment. I've been using >> GD::Graph for a while but I'm hoping to get a bit more feature-deep. >> I

RE: Undefined symbol compile errors with mod_perl-1.99_14 and AIX 5.2

2007-03-15 Thread Crumley, Martin \(GE Infra, Energy\)
er options I'm using. Thanks, Martin -Original Message- From: imacat [mailto:[EMAIL PROTECTED] Sent: 15 March 2007 10:15 To: mod_perl Subject: Re: Undefined symbol compile errors with mod_perl-1.99_14 and AIX 5.2 On Thu, 15 Mar 2007 10:55:47 +0100 "Crumley, Martin \(GE Infr

Undefined symbol compile errors with mod_perl-1.99_14 and AIX 5.2

2007-03-15 Thread Crumley, Martin \(GE Infra, Energy\)
mmand is 2. Stop. make: 1254-004 The error code from the last command is 2. = I've been trying to work out these Undefined symbol errors for a while but my lack of knowledge in all things perl is showing through. Hopefully someone with perl/modperl knowledge can point out my mistakes. Many thanks, Martin Crumley

Re: [OT] SOAP::Lite help

2007-03-13 Thread Martin Moss
quot;OK! results are: > ".Dumper($soapresult->result,$soapresult->paramsout); > } > > sub > SOAP::Transport::HTTP::Client::get_basic_credentials > { > return ''=>'password'; > } > > > Martin Moss wrote: > > All, >

SOAP::Lite help

2007-03-13 Thread Martin Moss
All, I have a Php script which I wish to convert to perl require_once('SOAP/Client.php'); $wsdl_url = 'https://myserver.myhost.com/services/EndUser?wsdl'; $WSDL = new Soap_WSDL($wsdl_url); $soap = $WSDL->getProxy(); $soap->setCredentials('','password'); $username = "wombat104";

Re: Zend PHP

2007-03-09 Thread Martin Moss
he support, but the fact that they have a whole integrated developer studio and deployment mechanism... And many other whistles and Bells... Regards Marty --- Robert Landrum <[EMAIL PROTECTED]> wrote: > Martin Moss wrote: > > I just had a demo of the Zend Platform and > framewo

Zend PHP

2007-03-08 Thread Martin Moss
I just had a demo of the Zend Platform and framework for php. It's got some really nice stuff, but ultimately the reason we may decide to ditch perl and move to php (h I know booo) will be down to support. OR lackthereof for Perl... So my question is, given I'm not a php fan, Is there an equiv

Re: SOAP

2007-03-01 Thread Martin Moss
Cheers Perrin :-) --- Perrin Harkins <[EMAIL PROTECTED]> wrote: > On 3/1/07, Martin Moss <[EMAIL PROTECTED]> > wrote: > > It's been a while since I've posted, but I have a > new > > project which has a SOAP interface. I have limited > > experie

Re: PerlAuthenHandler

2007-03-01 Thread Martin Moss
As I understand it... if you use this ->autologin the first argument to your autologin subroutine will be a string 'MyRoot::Testing' if you use ::autologin It won't be... Perhaps this might have something to do with it... I setup my subroutines like this:- http.conf PerlModule MyRoot

SOAP

2007-03-01 Thread Martin Moss
All, It's been a while since I've posted, but I have a new project which has a SOAP interface. I have limited experience with SOAP, so I was wondering if there is a consensus of opinion as to what the best modules to use are? Effectively I'll be simply posting strings of SOAP XML to a webpage...

Re: Weird behaviour with strings and accents

2006-12-29 Thread Lionel MARTIN
Hi, Having $VAR1 = ["\x{e0} pr\x{e9}sent prot\x{e9}g\x{e9}"] or $VAR1 = ["\x{e0} pr\x{e9}sent prot\x{e9}g\x{e9}login774"]; is really what you were expecting, i.e. true latin1 one byte characters. (it appears that your dump shows the hexa code of non ASCII chars, i.e. with hex code above \x{a0

Re: Getting post data

2006-09-28 Thread Lionel MARTIN
Hi, You should use libapreq2, which is a library that globally allows to deal with data submitted by the client. You can find documentation about it here: http://search.cpan.org/~joesuf/libapreq2-2.08/glue/perl/lib/Apache2/Request.pm Concerning CGI.pm, except if you are already using it for o

running Perl CGI using mod_perl 2 and suexec?

2006-09-22 Thread Laurent MARTIN
I is not able to create a file in a directory owned by laurent/laurent but a simple CGI script written in Shell can do it :-/Any advice welcome! TIA. -- Laurent MARTIN   .:: GIDE ::.Tel/Fax: +33 (0)2.40.89.92.83/81http://www.gide.net

Re: mod_perl make test failed tests

2006-06-05 Thread Lionel MARTIN
istake when targetting to use Win32 on a production server?" Let me have your conclusuions if you can, Thanks, Lionel. - Original Message - From: "Philip M. Gollucci" <[EMAIL PROTECTED]> To: "Lionel MARTIN" <[EMAIL PROTECTED]> Cc: "Mauric

Re: mod_perl make test failed tests

2006-06-05 Thread Lionel MARTIN
Hi all, This post is not related to the main topic, but Philip, you said: I think DBI seems to be making progress on CLONE() ing $dbh handles, at least from the test results I got/saw over on dbi-dev (at) perl (dot) org for the 1.51-RC1 just posted. Its docs still say not to use DBI with ith

Re: Where do the "warn" message go? (Ap2 & MP2 on Win32)

2006-05-19 Thread Lionel MARTIN
Hi, Thanks for trying to help me. Replying each of your questions... - Original Message - From: "Malcolm J Harwood" <[EMAIL PROTECTED]> To: Cc: "Lionel MARTIN" <[EMAIL PROTECTED]> Sent: Thursday, May 18, 2006 3:41 PM Subject: Re: Where do the "

Re: Cannot load mod_perl.so

2006-05-15 Thread Lionel MARTIN
e perl_module modules/mod_perl.so I have ActivePerl 5.8.8. The mod_perl.so I have is the the most recent binary available from the mod_perl site. Tracy "Lionel MARTIN" <[EMAIL PROTECTED]> wrote in message news:[EMAIL PROTECTED] > Hi, > > I don

Re: Cannot load mod_perl.so

2006-05-15 Thread Lionel MARTIN
Hi, I don't think that's a question of path, as you are telling us that you checked that, and that the file was there. Actually, I think this is a compilation problem, between mod_perl and perl itself (Apache has nothing to do with that right now). I'm running under Windows as well, and I mad

Re: Where do the "warn" message go? (Ap2 & MP2 on Win32)

2006-05-10 Thread Lionel MARTIN
warning"; # There's really nothing more. Lionel. - Original Message - From: "Malcolm J Harwood" <[EMAIL PROTECTED]> To: Cc: "Lionel MARTIN" <[EMAIL PROTECTED]> Sent: Thursday, May 11, 2006 7:52 AM Subject: Re: Where do the "warn" messag

Re: Where do the "warn" message go? (Ap2 & MP2 on Win32)

2006-05-10 Thread Lionel MARTIN
quot;; die "dying\n"; Then, "waning" doesn't get logged while "dying" does... - Original Message - From: "Malcolm J Harwood" <[EMAIL PROTECTED]> To: Cc: "Lionel MARTIN" <[EMAIL PROTECTED]> Sent: Tuesday, May 09, 2006 3:53 PM

Re: Using Apache::DBI

2006-05-08 Thread Lionel MARTIN
rkins" <[EMAIL PROTECTED]> To: "Lionel MARTIN" <[EMAIL PROTECTED]> Cc: "Octavian Rasnita" <[EMAIL PROTECTED]>; Sent: Monday, May 08, 2006 5:00 PM Subject: Re: Using Apache::DBI On Mon, 2006-05-08 at 16:56 +0200, Lionel MARTIN wrote: And what a

Re: Using Apache::DBI

2006-05-08 Thread Lionel MARTIN
And what about the best usage when using threaded MPMs, like Win32 MPMs, concerning connections? - Original Message - From: "Perrin Harkins" <[EMAIL PROTECTED]> To: "Octavian Rasnita" <[EMAIL PROTECTED]> Cc: Sent: Monday, May 08, 2006 3:26 PM Subject: Re: Using Apache::DBI Octavian

Re: Where do the "warn" message go? (Ap2 & MP2 on Win32)

2006-05-04 Thread Lionel MARTIN
the content of the warn message is going. (please have a look at the details below for the original question) - Original Message - From: "William A. Rowe, Jr." <[EMAIL PROTECTED]> To: "Lionel MARTIN" <[EMAIL PROTECTED]> Cc: Sent: Thursday, May 04, 2006 1

Where do the "warn" message go? (Ap2 & MP2 on Win32)

2006-05-04 Thread Lionel MARTIN
Hi,   I'm currently running Apache 2.0.54 with MP 2.0.2, on Win32.   When I'm doing a   print STDERR "Hello\n";warn "Hello\n";   at server startup, i.e.in a >Perl> block in httpd.cong, both messages go to the console, and to error.log as well.   But when I'm doing the same thing within a sc

Progress bar for file uploads

2006-04-27 Thread Martin Moss
All, Does anybody know of a progress bar type class for file uploads? (apache 1) Or, if there isn't one, available, what are the basic steps needed to implement one? regards Marty ___ To help you stay safe and secure o

Re: How many people use the Windows combo of Apache2 + mod_perl2 ?

2006-04-26 Thread Lionel MARTIN
Hi, I'm replying below. On Wed, 2006-04-26 at 17:20 +0200, Lionel MARTIN wrote: I'm preloading this module, using "PerlModule MyLoadingModule" in httpd.conf. Does that change if you load them via "use MyLoadingModule" in a startup.pl? I can't und

Re: How many people use the Windows combo of Apache2 + mod_perl2 ?

2006-04-26 Thread Lionel MARTIN
Hi, modules, that are loaded 4 times in all. You might we watching each Interpreter thread start, IIRC they start in sequence and not simultaneously. At any rate, thats a feature of the winnt mpm. Unless I'm missing a point, I'm not convinced by that. Indeed, I made further tests, and no ma

Re: How many people use the Windows combo of Apache2 + mod_perl2 ?

2006-04-26 Thread Lionel MARTIN
Hi, I'm having the same kind of interrogation. Concerning me, I'm working on a project that's still in development, and I'm developing under Windows (MP2, ActivePerl 5.8.8 Build 816 , Apache 2.055) I'll have to make a choice for the production environment, and I'm not sure what to choose. I'll h

[MP2] Is there anything shared between threads in threaded MPMs like the Winnt one?

2006-04-15 Thread Lionel MARTIN
  Hi,   I'm using MP v2.02, along with ActivePerl v5.8.8 and Apache v2.054, all that under Windows XP.   Under Win32, the Apache memory model is a threaded model, i.e. we have one master Apache process,and, then, one unique child process, containing several threads, that can, if needed,

Re: Crypt::CBC

2006-04-10 Thread Martin Moss
/~lds/Crypt-CBC-2.12/ > > --Ian > > > On 4/10/06, Martin Moss > <[EMAIL PROTECTED]> wrote: > > All, > > > > I had some code which ran the old version of > > Crypt::CBC (2.12). > > > > Using these headers to create the object:- > > >

Crypt::CBC

2006-04-10 Thread Martin Moss
All, I had some code which ran the old version of Crypt::CBC (2.12). Using these headers to create the object:- my $cipher = new Crypt::CBC($ENCRYPTION_KEY,'Blowfish'); I've now built a new machine. Copied the database values (encrpypted using the above) onto the new machine DB using mysqldump

Re: Perl Script using MapToStorageHandler

2006-03-02 Thread Glenn Martin
working on now... the Subversion/Dav one... Glenn --- Torsten Foertsch <[EMAIL PROTECTED]> wrote: > On Wednesday 01 March 2006 23:20, Glenn Martin > wrote: > > Sounds great, but how would i do something simular > to: > > > >       $r->add_co

Re: Perl Script using MapToStorageHandler

2006-03-01 Thread Glenn Martin
sprintf("SVNPath %s", $localpath), '']); and $r->add_config([sprintf('', $localpath), 'DirectoryIndex .', 'Options +Indexes', 'Dav On', '']); --- "Philippe M. Chiasson" <[EMAIL

Re: Perl Script using MapToStorageHandler

2006-03-01 Thread Glenn Martin
sprintf("SVNPath %s", $localpath), '']); and $r->add_config([sprintf('', $localpath), 'DirectoryIndex .', 'Options +Indexes', 'Dav On', '']); --- "Philippe M. Chiasson" <[EMAIL

Re: Perl Script using MapToStorageHandler

2006-03-01 Thread Glenn Martin
If i am doing this wrong, how would you suggest doing it? Glenn R. Martin --- Andy Armstrong <[EMAIL PROTECTED]> wrote: > On 1 Mar 2006, at 21:44, Glenn Martin wrote: > > Ive got a script im wokring on that uses the > > "PerlMapToStorageHandler" at that po

Re: Perl Script using MapToStorageHandler

2006-03-01 Thread Glenn Martin
do i reset the configuration? --- Andy Armstrong <[EMAIL PROTECTED]> wrote: > On 1 Mar 2006, at 21:44, Glenn Martin wrote: > > Ive got a script im wokring on that uses the > > "PerlMapToStorageHandler" at that point it adds to > the > > Apache Configuration usi

Perl Script using MapToStorageHandler

2006-03-01 Thread Glenn Martin
ted... How would i remove theses changes and what handler would you suggest for me to tie in to? Thank You Glenn R. Martin

[JOB] [OT] London

2006-02-28 Thread Martin Moss
All, We are seeking a perl developer to join a small development team. The ideal candidate will have 3+ years experience developing, supporting and debugging internet/intranet projects, using perl within an Apache, linux/solaris environment. Candidates must also have 2+ years experience using Ora

Re: Apache::DBI

2006-01-16 Thread Martin Moss
Not sure why it's doing it, if you've got a default clean install, But to control it's debug level you can put this in your startup.pl $Apache::DBI::DEBUG=0; Regards Marty --- Paul Harrison <[EMAIL PROTECTED]> wrote: > > > I installed Apache::DBI - 0.98 on FreeBSD 5.4 with > mod_perl 1.

Re: configuration error: couldn't check user. No user file?:

2005-11-11 Thread Martin Moss
ge amount of content... And intermittently on other page requests (GET & POST) the subroutine fails the can_read but the client is Still there Any ideas? We use a reverse proxy in front of our mod_perl server... Marty --- Martin Moss <[EMAIL PROTECTED]> wrote: > I'm se

configuration error: couldn't check user. No user file?:

2005-11-11 Thread Martin Moss
I'm seeing this error in the logfiles... configuration error: couldn't check user. No user file?: Any ideas what might cause it... it is appearing on different webpages... seems to be during large POST's. We've just changed from Basic to Cookie based Auth... Marty _

Re: Authentication

2005-11-10 Thread Martin Moss
s appear in their browser history... Marty --- John ORourke <[EMAIL PROTECTED]> wrote: > My fault guys, not looking up the numbers - Martin > is your admin > complaining about too many FORBIDDENs or REDIRECTs? > > The only thing I can add is that I'd recommend not >

Re: Authentication

2005-11-10 Thread Martin Moss
So an Authen Handler can return a REDIRECT? I use a 403 custom repsonse which is a self submitting page (with non javascript handling)... By doing so it prevent's any of the authentication pages appearing in IE's back button on the browser... Marty --- Perrin Harkins <[EMAIL PROTECTED]> wrot

Authentication

2005-11-10 Thread Martin Moss
All, During the Authentication phase, Any custom responses that need to be sent back to a user, MUST be sent with FORBIDDEN using custom_repsonse? Under Authentication 200 (OK) simply lets Apache Move on the to the next phase (authz, content etc..)... I have an authen handler which uses cookie

Re: is_intial_req

2005-11-01 Thread Martin Moss
I had a quick look at this and found both my requests to /logout/ and /logout2/ typed into the browser manually, continue to result in the same issue.. Here's the rewrite rules I have on my https proxy that each request comes through.. RewriteRule ^/logout/(.*)$ http://${farm:map_pf}/logout/$1 [P

Re: is_intial_req

2005-11-01 Thread Martin Moss
d the scenes, and I can't work it out... Is it possible Embperl does something with the Apache Request in an earlier Phase of the request? --- Michael Peters <[EMAIL PROTECTED]> wrote: > > > Martin Moss wrote: > > I'm a little confused. And was wondering

Re: is_intial_req

2005-11-01 Thread Martin Moss
nd the details of why.. Marty --- Frank Wiles <[EMAIL PROTECTED]> wrote: > On Tue, 1 Nov 2005 14:54:31 + (GMT) > Martin Moss <[EMAIL PROTECTED]> wrote: > > > Hey Frank.. > > > > I agree, thats why I setup the logout2 control > test. > > What I don

Re: is_intial_req

2005-11-01 Thread Martin Moss
rank Wiles <[EMAIL PROTECTED]> wrote: > On Tue, 1 Nov 2005 14:31:33 + (GMT) > Martin Moss <[EMAIL PROTECTED]> wrote: > > > I'm a little confused. And was wondering if I > could > > get a sanity check.. > > > > I have a mod perl method ha

is_intial_req

2005-11-01 Thread Martin Moss
I'm a little confused. And was wondering if I could get a sanity check.. I have a mod perl method handler and at start it runs this code my $is_initial_req = $r->is_initial_req; my $is_main = $r->is_main; my $main = $r->main; my $proxyreq = $r->proxyreq; print STDERR Dumper('is_i

Re: Module mod_log_config and custom Auth

2005-10-03 Thread Martin Moss
erl installed... Can this have anything to do with it? Marty --- Geoffrey Young <[EMAIL PROTECTED]> wrote: > Martin Moss wrote: > > All, > > > > I'm looking to ensure that an Authenticated user's > > username is logged in our logfiles, along with a

  1   2   >