RE: suggestions for perl as web development language [EXT]

2020-08-04 Thread paul trader
otion. mod_perls ability to hook into any step of the process apache uses to serve up a page makes it easy to design a web solution that can be tailored for any solution. regards, paul -- Paul trader.ptra...@igolinux.com IGO Linux Solutions 'Linux for the rest of us' http://www.igolinux.com

Re: how to run regex calculation

2020-01-12 Thread Paul B. Henson
On Thu, Jan 09, 2020 at 10:36:19AM +0800, Wesley Peng wrote: > $str = "2 3 6"; > > I want to match with: > > true if $str =~ /(\d+)\s(\d+)\s($1*$2)/; > > that's to say, the thrid column would be (firstCol * SecondCol). > > How to write regex for this? I don't think you can do it directly in t

Re: [a bit OT] AuthCookieDBI and Apache 2.4

2019-02-21 Thread Paul B. Henson
On 2/21/2019 9:46 AM, Michael Schout wrote: Another common thing I've seen people do is return an invalid Apache2::Const value from an Authz provider. You must return one of a Yup, been there done that :). I pieced this together, if my memory is correct, from apache mailing list posts, as w

Re: AuthCookieDBI and Apache 2.4

2019-02-20 Thread Paul B. Henson
On Wed, Feb 20, 2019 at 05:56:48PM -0500, Edward J. Sabol wrote: > Any pointers to a working AuthzProvider written in Perl (like for the > "species" one) in your examples? It's not perfectly clear to me how to > go about that. I wrote one for CAS auth a while back: https://github.com/pbhenson/Ap

Re: Apache upgrade 2.2 -> 2.4 and "PerlAuthenHandler Authen::Simple::IMAP"

2019-02-19 Thread Paul B. Henson
On 2/19/2019 6:02 PM, Jie Gao wrote: Found this on CPAN: Module < Authen::Simple::IMAP (DMARTIN/Authen-Simple-IMAP-0.1.2.tar.gz) Hmm, perhaps I should have searched CPAN directly rather than relying on Google :). Thanks for the pointer… The last update for this module was in 2009; Apa

Re: Apache upgrade 2.2 -> 2.4 and "PerlAuthenHandler Authen::Simple::IMAP"

2019-02-19 Thread Paul B. Henson
On 2/19/2019 5:33 PM, Jobst Schmalenbach wrote: While I have fixed most of the issues realted to the upgrade of Apache one I cannot solve is the "PerlAuthenHandler Authen::Simple::IMAP" in .htaccess files. The authentication/authorization API changed between 2.2/2.4, if this module has not been

Re: HTTP and MPM support

2019-01-28 Thread Paul B. Henson
On 1/28/2019 1:53 PM, Mark Blackman wrote: https://perldoc.perl.org/threads.html#WARNING  Threads are discouraged in Perl these days Yes, that is indeed what the documentation says; however, there is a far cry between "Perl is single-threaded by design and history and has no reliable suppor

Re: HTTP and MPM support

2019-01-28 Thread Paul B. Henson
On 1/28/2019 12:38 PM, Mark Blackman wrote: > Given that Perl is single-threaded by design and history and has no reliable support for threading, I think that mod_perl and direct http/2 Perhaps I am confused, but I do not necessarily agree with this statement. See, for example: https://perl

Re: HTTP and MPM support

2019-01-25 Thread Paul B. Henson
On 1/25/2019 11:00 AM, Michael A. Capone wrote: I have to add my voice to the growing chorus here. Me too. Frequently when the topic of mod_perl going stale comes up somebody jumps in with "That's old stuff, you should be using PSGI/Plack". Those people simply don't understand the overall uti

Re: Future MPM Support?

2018-08-04 Thread Paul Silevitch
, Aug 1, 2018 at 11:30 AM, Robert Smith > wrote: > >> Who in the world would want to abandon mod_perl? >> >> What is this world coming to? >> >> -Robert >> >> > On Jul 30, 2018, at 5:44 PM, André Warnier (tomcat) >> wrote: >> > >&g

Re: Future MPM Support?

2018-07-29 Thread Paul B. Henson
On Sun, Jul 29, 2018 at 04:18:54PM -0400, Paul Silevitch wrote: > Like Dr. James Smith, I'm hooking into multiple handlers and using filters. Yep, me too; Plack is really not a feature equivilent replacement for mod_perl :(.

Re: Future MPM Support?

2018-07-29 Thread Paul Silevitch
Like Dr. James Smith, I'm hooking into multiple handlers and using filters. I'm currently using prefork but thought people were using worker in production (assuming the application is thread safe). Is that not the case? Paul On Sat, Jun 9, 2018 at 7:03 AM, Dr James Smith wrote: >

Bug #122988? mod_perl still maintained?

2018-03-08 Thread Paul B. Henson
Looks like I'm running into: https://rt.cpan.org/Public/Bug/Display.html?id=122988 which was reported back in 9/2017. There doesn't seem to be a resolution to it? I diff'd 2.0.10 (released in 10/2016) against current svn head, and there really don't seem to be any changes of significance. Is mod_

Re: mod_perl Website Hosting

2017-03-09 Thread Paul Johnson
p exactly as I > want them And they very generously provide free hosting for metacpan.org and cpancover.com. So if you want to go that route and feel like saying thanks, follow the link from one of those sites. -- Paul Johnson - p...@pjcj.net http://www.pjcj.net

Re: Alternatives to CGI perl module

2016-09-10 Thread Paul Johnson
n that respect. See also http://shadow.cat/blog/matt-s-trout/mstpan-1/ I'd probably choose Dancer2 for new work now myself, but if you want 20 year support you might prefer looking towards Catalyst, or perhaps even building something for yourself on top of Plack. -- Paul Johnson - p...@pjcj.net http://www.pjcj.net

Re: "SetEnv/SetEnvIf" and mod_perl

2015-10-02 Thread Paul Silevitch
subprocess_env method will let you get apache's env: http://perl.apache.org/docs/2.0/api/Apache2/RequestRec.html#C_subprocess_env_ On Fri, Oct 2, 2015 at 6:24 PM, Michael A. Capone < mcap...@cablewholesale.com> wrote: > In my code, I do: > > > SetEnvIf Request_URI \.gif$ gif-image > Set

Re: no_cache(1)

2015-09-07 Thread Paul Silevitch
Weird. Try the following instead: $r->headers_out->set('Pragma' => 'no-cache'); $r->headers_out->set('Cache-Control' => 'no-cache'); I've actually never used 'no_cache' before but instead used the above two lines. Let me

Re: no_cache(1)

2015-09-07 Thread Paul Silevitch
Hello Michel, Are you calling $r->no_cache before any response data has been sent? When you say the browser receives a '0' in the response, what do you mean exactly? Thanks, Paul On Mon, Sep 7, 2015 at 4:15 PM, Michel Jansen wrote: > if i add $r->no_cache(1) to an ajax re

why no Apache2::Const::M_HEAD?

2015-08-24 Thread Paul Silevitch
Hello mod_perl-ers, Subject says it all. I was working on a project where I wanted to tell if a request was a HEAD method and was surprised to see no constant for it. Any ideas why it is missing? Thanks, Paul

Re: Disconnect database connection after idle timeout

2014-11-12 Thread Paul Silevitch
ycle). To cover the race condition where the disconnect happens right before the cancel, you could check to make sure the database connection is active right after the cancel is called. HTH, Paul On Wed, Nov 12, 2014 at 9:36 PM, Xinhuan Zheng wrote: > Hello, > > I am having a

Apache2::Filter internal flush error

2014-11-11 Thread Paul Silevitch
"%s got: %s", func, modperl_error_strerror(aTHX_ rc)); } else { modperl_croak(aTHX_ rc, func); } } What cases fall into the else-block? What is the best way to debug? Thanks, Paul

Apache2::Filter internal flush error

2014-11-10 Thread Paul Silevitch
"%s got: %s", func, modperl_error_strerror(aTHX_ rc)); } else { modperl_croak(aTHX_ rc, func); } } What cases fall into the else-block? What is the best way to debug? Thanks, Paul

Re: beginning and testing

2014-10-08 Thread Paul Johnson
. Put anything not dealing specifically with the web into separate modules. Those modules can be tested extensively in the usual fashion, and the web layer should be so thin that it's hard to have bugs in it. However, both Dancer and Mojolicious have testing modules for those parts too. -- Pa

Segmentation fault when starting Apache 2.2.26 with Perl 5.18.1 and mod_perl 2.0.8

2014-03-21 Thread Paul Burton
ogFormat "%h %l %u %t \"%r\" %>s %b \"%{Referer}i\" \"%{User-Agent}i\" %I %O" combinedio CustomLog "logs/access_log" common ScriptAlias /cgi-bin/ "/usr/local/apache2/cgi-bin/" AllowOverride None Options None Order allow,deny Allow from all DefaultType text/plain TypesConfig conf/mime.types AddType application/x-compress .Z AddType application/x-gzip .gz .tgz SSLRandomSeed startup builtin SSLRandomSeed connect builtin -- Paul Burton paulburt...@gmail.com

UNSUBSCRIBE

2010-03-02 Thread Paul Eckert
-Original Message- From: Fred Moyer [mailto:f...@redhotpenguin.com] Sent: Tuesday, March 02, 2010 4:55 PM To: Torsten Förtsch Cc: modperl@perl.apache.org Subject: Re: Just Uploaded: ModPerl2::Tools 2010/3/2 Torsten Förtsch : > Not much, just a few problems solved. Comments are welcome.

Re: Apache 1.3 -> 2.x portability

2008-11-14 Thread Paul Paskvan
I am attempting to use Apache2::compat on a dedicated windows to get an old open source application, that does run under apache1/mod-perl1, running. Hopefully, I can easily port this application, or is it easier to give up? >>> Adam Prime <[EMAIL PROTECTED]> 11/14/2008 8:07 AM >>> Michael Peter

Posted at rt.cpan.org

2008-11-13 Thread Paul Paskvan
I didn't find resolution, if already resolved sorry: http://rt.cpan.org/Public/Bug/Display.html?id=40749

RE: Apache2::Request undefined symbol

2008-07-09 Thread Paul Cameron
Yes, it's not obvious that you need to enable the module after installing it. Why doesn't the installer enable it automatically? -Original Message- From: Colin Wetherbee [mailto:[EMAIL PROTECTED] Sent: Thursday, 10 July 2008 12:52 PM To: Mark Hedges Cc: Paul Camero

RE: Apache2::Request undefined symbol

2008-07-07 Thread Paul Cameron
en the server started, it didn't load mod_apreq2.so. Thanks for your help, anyway. -Original Message- From: Heiko Jansen [mailto:[EMAIL PROTECTED] Sent: Monday, 7 July 2008 5:15 PM To: modperl@perl.apache.org Subject: Re: Apache2::Request undefined symbol Am Montag, den 07.07.2008, 08

Apache2::Request undefined symbol

2008-07-06 Thread Paul Cameron
che2.so: undefined symbol: apreq_handle_apache2'. I ran 'nm' on libapreq2.so.3 and it returned "nm: /usr/lib/libapreq2.so.3: no symbols". Can anyone help with this? Thanks, Paul Cameron Email: <mailto:[EMAIL PROTECTED]> [EMAIL PROTECTED] Phone:(07) 3102 5687 Mobile: 0410 442 756

[mp2] apache2::build missing from fedora 7 mod_perl?

2007-07-12 Thread paul trader
cpan tells me that apache2::build is part of the mod_perl-2.0.3 package, which is installed on my fedora 7 system. however, there seems to be no apache/build.pm module anywhere in /usr/lib/perl5. am i missing something here? regards, paul

RE: mod_perl error on solaris 8

2006-12-21 Thread Brzezinski, Paul J
me to the conclusion that it was because I ran 'make test' as root, switching to a non-root user, the test that failed succeeded, but the other tests in daemon.t failed. Paul -- [EMAIL PROTECTED] Global Client Engineering - GM EDS Corporation 248-365-9615 From: Cédric Terrier [mai

[mp2] Solaris 8 SPARC make test failure

2006-12-14 Thread Brzezinski, Paul J
-8<-- Start Bug Report 8<-- 1. Problem Description: During 'make test' I see errors and I don't know what to do to solve it. There's no error_log created. /em/opt/wserve/bin/httpd -d /em/tmp/downloads/mod_perl-2.0.3/t -f /em/tmp/downloads/mod_perl-2

Re: [RELEASE CANDIDATE]: mod_perl-2.0.3 RC3

2006-11-21 Thread Paul Johnson
On Sat, Nov 18, 2006 at 06:17:18PM -0800, Philip M. Gollucci wrote: > A release candidate for mod_perl 2.0.3-rc3 is now available for testing. All tests OK on linux 2.6.15 i686, perl 5.8.8, apache 2.0.59/2.2.3 -- Paul Johnson - [EMAIL PROTECTED] http://www.pjcj.net

Re: mod_perl2, CGI.pm and sending own headers

2006-08-28 Thread Paul Raines
On Mon, 28 Aug 2006, Geoffrey Young wrote: Paul Raines wrote: I am having an extrememly frustrating experience getting my old mod_perl1 scripts from a RedHat 7.3 server working on a new CentOS4 box with Apache 2.0.52 server with mod_perl 2.0.1 with CGI.pm 3.11 I'm sorry to hear tha

mod_perl2, CGI.pm and sending own headers

2006-08-28 Thread Paul Raines
e a header of content type "text/plain". How can I get the header I want to be the true HTTP header sent? -- --- Paul Rainesemail: raines at nmr.mgh.harvard.edu MGH/MIT/HMS Athinoula A. Martinos Center for Biomedical Imaging 149 (2301) 13th Street Charlestown, MA 02129USA

Mod_Perl

2006-04-14 Thread Paul Harrison
e module ModPerl::Registry or ModPerl::RegistryPreFork ?     Thxs       Paul

Re: Newbie (kind of) help with getting apache setup for certain file endings

2006-01-16 Thread Paul Johnston
Tom Schindl wrote: If you'd show us the error I'm sure we can help you ;-) I think I've found a further error elsewhere. If I have any other problems, I'm definitely coming back here! :) I forgot that the Perl community is one of the friendliest and most helpful

Re: Newbie (kind of) help with getting apache setup for certain file endings

2006-01-16 Thread Paul Johnston
Tom, Will have a play with that then. I did try something similar but for some reason it was erroring out. Thanks Paul Tom Schindl wrote: PerlModule ModPerl::Registry --8<-- # Handle all files ending in .pl with mp2 SetHandler perl-scr

Newbie (kind of) help with getting apache setup for certain file endings

2006-01-16 Thread Paul Johnston
ase help with apache setup for this purpose. If it's complex and means running *all* files that are under the virtual host root through mod_perl then so be it. I don't see why it should be though. Would really appreciate your help. Thanks Paul

RE: Apache::DBI

2006-01-16 Thread Paul Harrison
It fixed it. Thxs Cure -Original Message- From: Paul Harrison [mailto:[EMAIL PROTECTED] Sent: Monday, January 16, 2006 7:58 AM To: 'Martin Moss'; 'modperl@perl.apache.org' Subject: RE: Apache::DBI It's a default clean install. I'll try $Apache::DBI:

RE: Apache::DBI

2006-01-16 Thread Paul Harrison
It's a default clean install. I'll try $Apache::DBI::DEBUG=0 to see if that works. Thxs Cure -Original Message- From: Martin Moss [mailto:[EMAIL PROTECTED] Sent: Monday, January 16, 2006 5:00 AM To: Paul Harrison; modperl@perl.apache.org Subject: Re: Apache::DBI Not sur

Apache::DBI

2006-01-15 Thread Paul Harrison
  I installed Apache::DBI - 0.98 on FreeBSD 5.4 with mod_perl 1.   Apache::DBI logs an entry in apache error log file every time it create(s) a new connection or using an existing connection to the database server. Is this normal with this version?  And how do I turn that feature off?

Apache DBI

2006-01-15 Thread Paul Harrison
I installed Apache::DBI - 0.98 on FreeBSD 5.4 with mod_perl 1.   Apache::DBI logs an entry in apache error log file every time it create(s) a new connection or using an existing connection to the database server. Is this normal with this version?  And how do I turn that feature off?  

APR

2006-01-03 Thread Paul Harrison
Apache2 namespace are wrappers of the APR namespace.  Where can I find information about APR namespace, that will allow me to invoke the same methods that Apache2 namespace allows ?     Example:    use Apache2::RequestRec ();  # set supported by the handler HTTP methods  $allowed =

ModPerl

2005-12-30 Thread Paul Harrison
How come in ModPerl 2, we don’t have to send the http headers and print versus $r->print()  compared to ModPerl1 ?       ## ModPerl 2  sub handler {   my $r = shift;   $r->content_type('text/plain');   print "mod_perl 2.0 rocks!\n";   return Apache2::Const::OK;   }

RE: Apache-DBI

2005-11-08 Thread Paul Harrison
Thx u so much Cure -Original Message- From: Philip M. Gollucci [mailto:[EMAIL PROTECTED] Sent: Tuesday, November 08, 2005 10:40 AM To: Paul Harrison Cc: 'Enno'; [EMAIL PROTECTED]; modperl@perl.apache.org Subject: Re: Apache-DBI Paul Harrison wrote: > p5-Apache-DBI-0.94_1

RE: Apache-DBI

2005-11-08 Thread Paul Harrison
p5-Apache-DBI-0.94_1 <-- I got it from the ports-tree FreeBSD Cure -Original Message- From: Philip M. Gollucci [mailto:[EMAIL PROTECTED] Sent: Tuesday, November 08, 2005 10:33 AM To: Paul Harrison Cc: 'Enno'; [EMAIL PROTECTED]; modperl@perl.apache.org Subject: Re: Apa

RE: Apache-DBI

2005-11-08 Thread Paul Harrison
if (defined $ENV{MOD_PERL_API_VERSION} and $ENV{MOD_PERL_API_VERSION} == 2) { <-- that fixed the error. Thxs Cure -Original Message- From: Paul Harrison [mailto:[EMAIL PROTECTED] Sent: Tuesday, November 08, 2005 10:22 AM To: 'Enno' Cc: [EMAIL PROTECTED]; modperl@pe

RE: Apache-DBI

2005-11-08 Thread Paul Harrison
I will try that thxs. On my other box, I have mp2 and p5-Apache-DBI-0.94_1 works just fine. But then again, I don't preload the connections on server startup. Cure -Original Message- From: Enno [mailto:[EMAIL PROTECTED] Sent: Tuesday, November 08, 2005 10:17 AM To: Paul Harris

RE: Apache-DBI

2005-11-08 Thread Paul Harrison
--Original Message- From: Christopher H. Laco [mailto:[EMAIL PROTECTED] Sent: Tuesday, November 08, 2005 9:51 AM To: Paul Harrison Cc: modperl@perl.apache.org Subject: Re: Apache-DBI Paul Harrison wrote: > p5-DBD-mysql50-3.0002 > > p5-DBI-1.48 > > p5-Apache-DBI-0.94_1 > >

RE: Apache-DBI

2005-11-08 Thread Paul Harrison
I'm currently running mp1, so I'm lost here. Cure -Original Message- From: Enno [mailto:[EMAIL PROTECTED] Sent: Tuesday, November 08, 2005 9:51 AM To: Paul Harrison Cc: modperl@perl.apache.org Subject: Re: Apache-DBI you need Apache::DBI 0.96 or higher for mp2 compatibil

Apache-DBI

2005-11-08 Thread Paul Harrison
p5-DBD-mysql50-3.0002 p5-DBI-1.48 p5-Apache-DBI-0.94_1   I upgraded the database server from the "4" version to "5", so I updated the Perl database Drivers -> DBD,DBI, and Apache-DBI.   Once I updated the software, I get the following text in the Apache error log -->   [Tue Nov  8 1

RE: Mod_perl2

2005-09-14 Thread Paul Harrison
Message- From: Frank Wiles [mailto:[EMAIL PROTECTED] Sent: Wednesday, September 14, 2005 5:08 PM To: Paul Harrison Cc: modperl@perl.apache.org Subject: Re: Mod_perl2 On Wed, 14 Sep 2005 16:56:16 -0500 "Paul Harrison" <[EMAIL PROTECTED]> wrote: > I tried installing libapr

RE: Mod_perl2

2005-09-14 Thread Paul Harrison
lto:[EMAIL PROTECTED] Sent: Wednesday, September 14, 2005 4:37 PM To: Paul Harrison Cc: modperl@perl.apache.org Subject: Re: Mod_perl2 On Wed, 14 Sep 2005 16:29:51 -0500 "Paul Harrison" <[EMAIL PROTECTED]> wrote: > Same compiler, yes > > In installed it from F

RE: Mod_perl2

2005-09-14 Thread Paul Harrison
Same compiler, yes In installed it from FreeBSD ports tree PORTNAME= libapreq2 PORTVERSION=2.05 CATEGORIES= www perl5 devel Cure -Original Message- From: Frank Wiles [mailto:[EMAIL PROTECTED] Sent: Wednesday, September 14, 2005 4:19 PM To: Paul Harrison Cc: modperl

Mod_perl2

2005-09-14 Thread Paul Harrison
In mod_perl 1.29 version, I preload the following modules at startup à use Apache::Request (); use Apache::Cookie ();     It works perfect…   I’m currently learning how to use mod_perl2-2.0.1, when I try to preload the following modules at startup à   use Apache2::Request (); use

RE: Mime Type

2005-09-13 Thread Paul Harrison
So what's the best mime-type then to use ? Paul -Original Message- From: Tom Schindl [mailto:[EMAIL PROTECTED] Sent: Tuesday, September 13, 2005 11:32 AM To: Paul Harrison Cc: modperl@perl.apache.org Subject: Re: Mime Type -BEGIN PGP SIGNED MESSAGE- Hash: SHA1 As already

Mime Type

2005-09-13 Thread Paul Harrison
Is there a way I can change the mine type in apache so when a user clicks on a mp3 link it would pop_up the save window instead of playing it ? Maybe trick the browser into thinking the mp3 file is a zip file so it will pop_up a save as window, so the user can save it to their desktop.  

RE: APR

2005-08-17 Thread Paul Harrison
Yes, thx you Cure -Original Message- From: Perrin Harkins [mailto:[EMAIL PROTECTED] Sent: Wednesday, August 17, 2005 12:04 PM To: Paul Harrison Cc: modperl@perl.apache.org Subject: Re: APR Paul Harrison wrote: > Hi All, I thought the APR module was use for ==> to load mod

APR

2005-08-17 Thread Paul Harrison
Hi All, I thought the APR module was use for  ==> to load mod_perl2 outside of Apache(command line). I'm lost when I see modules like ==> use APR::Table () inside of Apache(not the command line) Please Explain, thxs     Cure

Apache::AuthCookie Setup

2005-07-20 Thread Paul D. Kraus
esn't exist and the "testing" suite is also non-existent. Paul Kraus

Newbie question re: opendir

2005-05-25 Thread Paul Murphy
oking through the archives for this list I've seem mails that mention checking if calls to glob() fail in a similar fashion. I've check and they don't - glob() works fine. Cheers Paul

Re: data persistence problem with Class::DBI

2005-04-14 Thread Paul Johnson
age and I suspect TT2 is creating a closure, but I haven't tracked the reasons fully. I fixed the problem with a call to clear_object_index at the start of the handler. I'd be pleased to hear of a slightly more subtle approach though. -- Paul Johnson - [EMAIL PROTECTED] http://www.pjcj.net

Package building

2005-01-23 Thread Paul Armstrong
;m sure several people have done this before). Any suggestions? Using mod_perl 2.0.0-RC4, Apache 2.0.52, GNU Make (tried Solaris Make as well, but that didn't help) on Solaris 9 Thanks, Paul

Re: pb setting NLS_LANG with mod_perl 1.99_14et DBD::Oracle

2004-11-03 Thread Jean-Paul COGNET
== === sub EnteteHTML #=== === { return if ($ENTETE_HTML); print $q->header('text/html'); print "\n"; print ""; $ENTETE_HTML++; } #

Re: pb setting NLS_LANG with mod_perl 1.99_14et DBD::Oracle

2004-11-02 Thread Jean-Paul COGNET
exec/openssh/gnome-ssh-askpass HOME=/root SHLVL=2 BASH_ENV=/root/.bashrc LOGNAME=root SSH_CONNECTION=192.168.2.101 4325 192.168.2.120 22 LESSOPEN=|/usr/bin/lesspipe.sh %s G_BROKEN_FILENAMES=1 _=/usr/local/apache2/bin/httpd ORACLE_HOME=/opt/oracle/product/10g/OraDB10g dbh=DBI::db=HASH(0x96e9578) ERROR ?

Re: pb setting NLS_LANG with mod_perl 1.99_14et DBD::Oracle

2004-10-29 Thread Jean-Paul COGNET
connect ORACLE_HOME=/opt/oracle/product/10g/OraDB10g NLS_LANG= and then I can connect but "été" becomes "ete" Many Thanks for yoyr help. - Original Message - From: "Stas Bekman" <[EMAIL PROTECTED]> To: "Jean-Paul COGNET" <[EMAIL PROTECTE

Re: pb setting NLS_LANG with mod_perl 1.99_14et DBD::Oracle

2004-10-26 Thread Jean-Paul COGNET
uoted string not properly terminated' - Original Message - From: "Arnaud Blancher" <[EMAIL PROTECTED]> To: "Jean-Paul COGNET" <[EMAIL PROTECTED]> Cc: <[EMAIL PROTECTED]> Sent: Tuesday, October 26, 2004 3:48 PM Subject: Re: pb setting NLS_LANG wit

pb setting NLS_LANG with mod_perl 1.99_14et DBD::Oracle

2004-10-26 Thread Jean-Paul COGNET
che::Connection ;use Apache::Log ;   use APR::Table ;   use ModPerl::Registry ;   use Apache::Const -compile => ':common';use APR::Const -compile => ':common';use DBI; # On va utiliser la base de donneesuse DBD::Oracle;   $ENV{ORACLE_HOME}='/opt/oracle/product/10g/O

RE: got mod_perl?

2004-08-27 Thread Wilt, Paul
Congratulations to you and your wife! Hopefully you won't have to debug too many child process core dumps! Paul E Wilt Senior Principal Software Engineer ProQuest Information and Learning - http://www.proquest.com mailto:[EMAIL PROT

MovableType Contest, mod_perl jobs

2004-06-28 Thread Paul Lindner
ress [EMAIL PROTECTED] http://www.sixapart.com/jobs/#engineer1 -- Paul Lindner| | | | | | | | | | [EMAIL PROTECTED] pgpJHkDGD2NZr.pgp Description: PGP signature

Re: Howto use emacs and perldb to debug mod_perl?

2004-05-07 Thread Paul G. Weiss
On Thu, 06 May 2004 12:22:49 -0700, Stas Bekman <[EMAIL PROTECTED]> wrote: If someone can write a section explaining how to do that properly, I think it'll be a great addition to our docs. Just post the pod here and I'll add it. Thanks. OK, I'm not exactly a hand at writing pod but I had a g

Re: Howto use emacs and perldb to debug mod_perl?

2004-05-06 Thread Paul G. Weiss
On Thu, 6 May 2004 16:12:16 +, <[EMAIL PROTECTED]> wrote: James Moore claimed to have gotten it right: http://groups.google.ch/groups?q=emacs+mod_perl&hl=en&lr=lang_en|lang_de&ie=UTF-8&oe=UTF-8&selm=1051404465.5094 +85%40yasure&rnum=1 It partially works for me. The last part doesn't: James Moor

GTop & Fedora Core 2

2004-04-16 Thread Paul Lindner
pedef" In file included from /usr/include/libgtop-2.0/glibtop.h:42, from daemon.h:28, from io.c:23: -- Paul Lindner[EMAIL PROTECTED] | | | | | | | | | | mod_perl Developer's Cookbook http://www.modperlcookbook.org/

Re: "MySQL server has gone away"

2004-03-18 Thread Paul Lindner
hat if you're using Apache::DBI, restarting Apache would > appear to fix the connection, leading you to suspect a mod_perl problem. > -- Paul Lindner[EMAIL PROTECTED] | | | | | | | | | | mod_perl Developer's Cookbook http://www.modperlcookbook.org/ Human Rights Declaration http://www.unhchr.ch/udhr/ pgp0.pgp Description: PGP signature

make test/apache startup problems

2004-03-17 Thread paul
rt up again! If i remove the Load line it again works. but with no mod_perl... thx for your help paul Error messages: 7 Apache:: modules loaded [Wed Mar 17 16:37:10 2004] [info] 5 APR:: modules loaded [Wed Mar 17 16:37:10 2004] [info] base server + 17 vhosts ready to run

compilation errors

2004-03-16 Thread paul
uild.pm line 41. BEGIN failed--compilation aborted at lib/Apache/Build.pm line 41. Compilation failed in require at Makefile.PL line 32. BEGIN failed--compilation aborted at Makefile.PL line 32. Hope you can help! Thx a lot paul sepp -- Report problems: http://perl.apache.org/bugs/ Mail

Re: Mod_perl blog recommendations

2004-03-12 Thread Paul Lindner
se of use. > > Any ideas? Movable Type is what you are probably looking for. It has one of the world's easiest installers, supports all the blog functionality and is quite easy on the eyes out of the box. http://www.movabletype.org -- Paul Lindner[EMAIL PROTECTED] | |

Apache::Reload

2004-03-10 Thread Paul Bothma
rlOptions +ParseHeaders PerlSetVar ReloadDebug On Is there something that I am missing? Thanks, paul -- 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

mod_perl.so error preventing httpd startup

2004-01-28 Thread Paul Prinsloo (TEBiVO)
the upgrade process was installing Apache Server 1.3.27. Has anyone else encountered this error before, and if so, please help me out in fixing it.   Thank you   Paul “This e-mail is sent on the Terms and Conditions that can be accessed by Clicking on this link http://www.vodacom.net/legal

Re: Handlers vs Perl scripts

2004-01-27 Thread Paul Simon
osing a Templating System - http://perl.apache.org/docs/tutorials/tmpl/comparison/comparison.html ModPerl::Registry - http://perl.apache.org/docs/2.0/api/ModPerl/Registry.html Paul -- Reporting bugs: 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

bouncing a request back from a mod_perl script?

2004-01-25 Thread Paul Tomsic
Is it possible to take a request object (from a posted html form) and bounce it to something else? For instance, we've got a form that submits to a perl script (running under mod_perl) We do something w/ the form data that's posted, but we then need access to that posted form content elsewhere (wi

Apache::DBI tests failing

2003-12-29 Thread Paul Makepeace
mes"); +is($thread_2, $thread_1, "got the same connection both times"); Thanks, Paul -- Paul Makepeace http://paulm.com/ecademy "What is your haddock called? 42." -- http://paulm.com/toys/surrealism/ -- Reporting bugs: http:/

Re: VirtualHost + PerlSetVar

2003-12-22 Thread Paul G. Weiss
On Mon, 22 Dec 2003 15:26:53 -0800, Stas Bekman <[EMAIL PROTECTED]> wrote: You don't need to walk the config tree to accomplish that. There is a much simpler way: sub post_config { my($conf_pool, $log_pool, $temp_pool, $s) = @_; for (my $vhost_s = $s->next; $vhost_s; $vhost_s = $vhost

Re: VirtualHost + PerlSetVar

2003-12-21 Thread Paul G. Weiss
PerlAddVar. It would be nice if Apache::Directive was extended so that one could do the equivalent of $node->dir_config("value"). -P On Sun, 21 Dec 2003 19:46:15 -0800, Stas Bekman <[EMAIL PROTECTED]> wrote: Stas Bekman wrote: Paul G. Weiss wrote: Rats! PerlPostConfig

Re: VirtualHost + PerlSetVar

2003-12-20 Thread Paul G. Weiss
and the file written to only when PerlPostConfigHandler is outside the scope. By the way, this is also true with PostOpenLogsHandler. In fact, when I set PerlTrace all in my configuration file, I see the line: modperl_callback_run_handlers: no PerlPostConfigHandler handlers configured () in the errors log.

Re: VirtualHost + PerlSetVar

2003-12-20 Thread Paul G. Weiss
stion on to the maintainer of Apache::PageKit (that is, if he doesn't read this list), because it will affect his documentation. -Paul On Fri, 19 Dec 2003 18:32:46 -0800, Stas Bekman <[EMAIL PROTECTED]> wrote: Paul G. Weiss wrote: [...] The reason this is important is that I'm trying to

Re: VirtualHost + PerlSetVar

2003-12-19 Thread Paul G. Weiss
e reason this is important is that I'm trying to get Apache::PageKit to run in virtual hosts, and it depends on the availability of PerlSetVar variables on startup. -Paul On Fri, 19 Dec 2003 06:28:10 -0500, Paul G. Weiss <[EMAIL PROTECTED]> wrote: I have something like this: Perl

VirtualHost + PerlSetVar

2003-12-19 Thread Paul G. Weiss
SetVar and move it outside the VirtualHost, then $value is "def". I'm using 2.0.47 + 1.99_10, only because I have rpms build for them (for RH9). Has this problem been noticed and fixed in the latest release? I don't see any mention of it in the mail archives. -Paul Weiss -- Repo

Apache::Cookie->fetch

2003-12-17 Thread Paul Flinders
Another porting issue for mod_perl2, admittedly this is a libapreq2 change but it might be worth including in the mod_perl porting documentation as anyone porting an application might well run into it (well, I did) Apache::Cookie->fetch in libapreq2 requires that the request object is passed to it

Apache::Status erroneously reports error

2003-12-16 Thread Paul Flinders
Setup: mod_perl-1.99_11, libapreq2-2.02, Apache 2.0.47, RedHat 9. Running Apache::Status gives the attached output. There's no trace of an error in the logs & I'm guessing that it's just an inappropriate return code. I _think_ this might be an appropriate patch? --- Apache/Status.pm.orig2003-

Re: mod_perl2, Apache::PageKit and $s->uid

2003-11-28 Thread Paul Flinders
Stas Bekman wrote: Paul Flinders wrote: At present I'm not getting much further than the start-up code. The sequence my $s = Apache->server; my $uid = $s->uid; my $gid = $s->gid; gives me Syntax error at /etc/httpd/conf.d/perl.conf:66 Can't locate object method "

mod_perl2, Apache::PageKit and $s->uid

2003-11-27 Thread Paul Flinders
I'm currently investigating using Apache::PageKit to develop a web application. I'm more-or-less constrained to use Apache 2 by the environmental requirements for the project which means mod_perl2 and libapreq2. I realise that this is something of an experimental brew, especially as PageKit doesn't

Re: Caching CGI scripts running under Apache::Registry

2003-11-26 Thread Paul Lindner
27;s Cookbook. It dumps the request onto a file on disk based on the URL. If the file is removed then the content is regenerated. The module does not cache headers, instead it uses Apache's built-in file-serving code to serve up cached content written to disk. Give it a try... OO handlers a

RE: different versions of Perl

2003-11-05 Thread Wilt, Paul
Stas: Actually there is continued overhead due to the fact that different instructions (that require a larger number of cycles to decode / dispatch) are used when calling subroutines and / or accessing memory in a shared environment. Paul E Wilt Senior Principal Software Engineer ProQuest

Re: Apache::Registry slower than PerlRun. :(

2003-10-06 Thread Paul Simon
If speed/performance is your concern, then you might want to look into Apache2/mod_perl2. My understanding is that Apache 1.x isn't anything but a novelty on Windows. paul --- Todd <[EMAIL PROTECTED]> wrote: > I recently migrated my perl/CGI.pm scripts from an > IIS server to

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. Wei

Upgrading RedHat 9

2003-09-30 Thread Paul G. Weiss
would like to build new rpms and replace the old ones. Any pointers to instructions on how to do this? Or advice on whether or not this is advisable? -Paul