Re: sealed v4.1.9 on CPAN

2023-05-10 Thread Thomas den Braber
Hi Joe, > > Am I beating a dead horse with mod_perl + mpm_event in 2022? > If you are beating a dead horse it at least is one that can still outperform most others. I am still using mpm_winnt in 2023. Are there any 'Sealed' advantages for mpm_prefork or mpm_winnt

unwanted setlocale() interaction between mod_php and mod_perl2

2021-11-08 Thread Thomas Bartosik
Hi! Up until Ubuntu 18.04 LTS or Debian 9, a perl service (eprints.org) and a PHP service (nextcloud) worked smoothly next to each other on Apache with mod_php and mod_perl2. However, on Ubuntu 20.04 LTS, or Debian 10, as soon as I enable mod_perl2, setlocale() on nextcloud does not seem to wo

Re: AW: STDOUT Problem migrating a site to mod_perl

2019-09-23 Thread Thomas Kenyon
On 23/09/2019 14:31, Andreas Mock wrote: Hi Thomas, why not implementing the follwoing steps. 1) create tmp file. 2) convert to tmp file 3) if everything worked fine reading file, setting appropriate headers and print content and afterwards delete tmp file. 4) if something went wrong you can

STDOUT Problem migrating a site to mod_perl

2019-09-23 Thread Thomas Kenyon
I have run into an odd problem when migrating a site to use mod_perl. The script in question, builds some postscript into a variable, then uses psconvert (from Postscript::Convert) to change that into a png and sends that back to the webserver. (headers are set up earlier in the script). Thi

ServerAlias has maximum length ?

2017-10-02 Thread Thomas den Braber
alias DavLockDB alias /srv2/sites/sol/index/DavLock Strange ? I solved it temporarily by using wild cart domains to stay below 179 characters. Any ideas ? -- Thomas den Braber

Re: New Windows mod_perl binaries available

2017-09-19 Thread Thomas den Braber
my authentication handles and could not load modules in a section any more but that was not a problem to fix. Perfect ! Thanks, Thomas den Braber -Original Message- From: Steve Hay To: "modperl@perl.apache.org" , d...@perl.apache.org Cc: Steffen Date: Wed, 6 Sep 2017 0

Re: Mod Perl and Basic Authentication

2016-03-08 Thread Thomas den Braber
## sub getBasicAuth { my $authheader = shift; return unless $authheader; my ($cram) = $authheader =~ /^Basic (.*)/; return unless $cram; $cram = MIME::Base64::decode_base64 ($cram); return split (/:/, $cram, 2); } --- Thomas den Braber

Re: Compiling 2.0.9 with Strawberry Perl 5.20 on windows (64Bit)

2015-11-02 Thread Thomas den Braber
> I will make new binaries for 2.0.9 soon, but want to get mod_perl > working with Perl 5.22.x first. That is great I will be looking forward to it. Will that be for Apache 2.4 or 2.2, or both ? 2.09 with Strawberry Perl 5.22 and Apache 2.4. It sound like a winner! Thanks,

Re: Compiling 2.0.9 with Strawberry Perl 5.20 on windows (64Bit)

2015-09-28 Thread Thomas den Braber
y self. @Steve Hay: Can you explain how you setup your build environment ? -- Thomas den Braber

Compiling 2.0.9 with Strawberry Perl 5.20 on windows (64Bit)

2015-09-25 Thread Thomas den Braber
t working with the .dll or .lib files from Apache ? Is my environment not correct, do I need to use the MSYS2 shell ? Sorry many question, any help is welcome. -- Thomas den Braber

Re: 2.0.9 development version

2015-01-06 Thread Thomas den Braber
, everything seemed to work well ( but not sure what aplog checks ?). -- Thomas den Braber

2.0.9 development version

2015-01-06 Thread Thomas den Braber
Does anyone know where I can find the latest 2.0.9 development version ? I can't find it anywhere in https://svn.apache.org/repos/asf/perl/modperl/ -- Thomas den Braber

Re: Problem with mod_perl and DBI/DBD::Oracle LD_LIBRARY_PATH is not being recognized?

2013-10-22 Thread Thomas M. Payerle
On Mon, 21 Oct 2013, Bruce Johnson wrote: On Oct 21, 2013, at 2:56 PM, Thomas M. Payerle wrote: On Mon, 21 Oct 2013, Bruce Johnson wrote: Is your mod_perl setuid/setgid? If so LD_LIBRARY_PATH gets ignored. I don't think so, but even so, shouldn't the PerlSetEnv directive b

Re: Problem with mod_perl and DBI/DBD::Oracle LD_LIBRARY_PATH is not being recognized?

2013-10-21 Thread Thomas M. Payerle
On Mon, 21 Oct 2013, Bruce Johnson wrote: Based on path, sounds like you have a 64 bit version of Oracle. I am assuming that you verified that your mod_perl is a 64 bit build. Is your mod_perl setuid/setgid? If so LD_LIBRARY_PATH gets ignored. My guess would be that the dependent libraries of

bug report: Perl variable expansion in build directory path (very minor)

2013-09-13 Thread Thomas M. Payerle
-8<-- Start Bug Report 8<-- 1. Problem Description: Perl variable expansion in build directory path (very minor) In t/conf/extra.last.conf.in, lines 115-138, there are three places where $PerlConfig or @PerlConfig is being set to values containing @Docume

Qu: installing mod_perl2 outside of apache2 and perl install directories

2013-09-10 Thread Thomas M. Payerle
Hi, Our site uses networked file systems and the same code base is available on many systems. We have multiple versions of e.g. apache and perl installed, and e.g. init.d scripts will look up the version of apache to use for a particular server and start that version, out of the several instal

mp2 Apache2::ServerUtil::server_shutdown_cleanup_register runs only on startup

2012-09-28 Thread Thomas B. Doerr
__ Using mod_perl-2.0.4-10 on Apache 2.2 [prefork], with Apache::compat, I've registered a server-level cleanup handler in a PerlPostConfigureRequired module using the following code: 34 warn "parent pid is $$\n"; 35 Apache2::ServerUtil::server_shutdown_cleanup_register((\&cle

undefined symbol: MUTABLE_CV for mod_perl-2.0.6 / svn rev 1296804

2012-03-04 Thread Thomas Busch
ned symbol: MUTABLE_CV Is it possible that MUTABLE_CV is not part of perl 5.8.8 ? Thomas.

Bugs + fixes for build/make_rpm_spec

2012-03-04 Thread Thomas Busch
erl(Data::Flow)/d' \ -e '/perl(Module::Build)/d' %define __perl_provides /usr/lib/rpm/perl.prov $* | \ sed -e '/perl(warnings)/d' \ -e '/HTTP::Request::Common)/d' Could someone review this and check this in ? Thanks in advance. Thomas.

Re: compiling mod_perl 1x + Apache 1 on Debian

2012-02-29 Thread Thomas Klausner
Hi! On Wed, Feb 29, 2012 at 11:16:44PM +0100, Michael Ludwig wrote: > > Configuring for Apache, Version 1.3.42 > > + Warning: Your 'echo' command is slightly broken. > > + It interprets escape sequences per default. We already > > + tried 'echo -E' but had no real success. If errors occur > >

compiling mod_perl 1x + Apache 1 on Debian

2012-02-29 Thread Thomas Klausner
Hi! A rather old legacy projects need to be recompiled, but neither mod_perl nor Apache seem to be compilable. Any hints/ideas? ~$ uname -a Linux laptop 3.2.0-1-amd64 #1 SMP Fri Feb 17 05:17:36 UTC 2012 x86_64 GNU/Linux (same on: Linux server 2.6.26-2-openvz-amd64 #1 SMP Mon Jun 13 17:16:12 UTC

Re: [ANNOUNCE] mod_perl 2.0.5

2011-05-29 Thread Thomas den Braber
p) and did not found an error in my log. does it say [error] or [warn] in your log file ? -- Thomas

Re: APR does not understand this error code

2011-05-25 Thread Thomas den Braber
ave not tried Steve's patch yet, will do that asap. Will be continued .. -- Thomas den Braber

RE: APR does not understand this error code

2011-05-11 Thread Thomas den Braber
> We were getting this behavior in our web application. It appears that > we've fixed it (we're still testing it) by checking the return value > from each print statement (usually we call the Apache request object's > print method) and aborting (by calling die() in our application - we > have an

APR does not understand this error code

2011-05-10 Thread Thomas den Braber
not work ? Can anyone help me with this ? -- Thomas den Braber

Re: [ANNOUNCE] mod_perl 2.0.5

2011-02-12 Thread Thomas den Braber
reload problem and the Worker MPM? --- Thomas den Braber

Re: [ANNOUNCE] mod_perl 2.0.5

2011-02-12 Thread Thomas den Braber
gick, etc.). That causes less overhead (only about 10 ms per request for my ~60 modules) and maybe prevent other strange behaviour. -- Thomas den Braber

Re: 'use base' and mod_perl

2011-02-12 Thread Thomas den Braber
on servers. So it is only some extra trouble in development and restarting your development server every now and then is not a problem. -- Thomas den Braber

Re: [ANNOUNCE] mod_perl 2.0.5

2011-02-11 Thread Thomas den Braber
tart and stop of apache is much faster then on the old 32 bit systems (Win2003, XP) --- Thomas den Braber

Re: [RELEASE CANDIDATE]: mod_perl-2.0.5 RC2

2011-02-03 Thread Thomas den Braber
lock secs ( 0.92 usr + 0.28 sys = 1.20 CPU) Result: FAIL Failed 2/242 test programs. 7/2429 subtests failed. Real live test show no problems but I will do some more test to make sure. -- Thomas den Braber

Re: [RELEASE CANDIDATE] libapreq2 2.13 RC

2010-11-30 Thread Thomas den Braber
Tested on Ubuntu 9.10 64bit. All test pass ok. Running in live environment for 2 days now without any problems. -- Thomas

Re: Strawberry perl + mod_perl (call for testers)

2010-07-12 Thread Thomas den Braber
big modperl application it uses much more memory than with the Prefork MPM on Linux. Also restarting Apache Worker takes more time then with Prefork MPM on Linux. But stability and performance are very good. -- Thomas den Braber -Original Message- From: Michael Ludwig To: modperl

Re: Zip on the fly problem

2010-01-12 Thread Thomas den Braber
ipt > file Worked in both versions. There is something wrong in the new Archive::Zip module I send a message to the CPAN forum hope they pick it up. Thank, Thomas den Braber -Original Message- From: Ronald J Kimball To: Scott Gifford Cc: Thomas den Braber , modperl@perl.apache.or

Zip on the fly problem

2010-01-12 Thread Thomas den Braber
o rewrite local header : Invalid argument' If I use desiredCompressionLevel(0) then there is no problem but no compression is done. The error is only related to Mod_perl. As a console script it runs fine. Problem is on both Windows and Linux (perl 5.10). Has anyone any idea what might be the problem? or have an alternative solution? Thanks, Thomas den Braber

Apache2::HookRun question

2009-08-14 Thread Thomas Lindgren
d be fixed/rewritten? Thanks. Best, Thomas

Re: How to reject requests before request body is sent?

2008-11-25 Thread Thomas Lindgren
ts that errors should abort the cycle ("Mod_perl 2 users guide", p. 65), but, except if the handler dies, it looks as if such errors are held back until the request has been fully received. Too bad. Thanks for the help guys, I'll see whether an input filter helps. Or perhaps that socket hack. Best, Thomas

How to reject requests before request body is sent?

2008-11-24 Thread Thomas Lindgren
native actually close the socket, but that feels inelegant and hackish. So, my question to the esteemed list, how should this sort of thing best be done? Have I forgotten something basic? Should I return something else? Is there a more appropriate phase to do this? Should I do it another way entirely? Best, Thomas

Re: Reducing memory usage using fewer cgi programs

2008-10-23 Thread Thomas Hilbig
--- On Mon, 10/20/08, Carl Johnstone <[EMAIL PROTECTED]> wrote: > From: Carl Johnstone <[EMAIL PROTECTED]> > Subject: Re: Reducing memory usage using fewer cgi programs > To: "Michael Peters" <[EMAIL PROTECTED]>, [EMAIL PROTECTED] > Cc: modperl@perl.apache.org > Date: Monday, October 20, 2008, 8:1

Re: Reducing memory usage using fewer cgi programs

2008-10-17 Thread Thomas Hilbig
--- On Fri, 10/17/08, Michael Peters <[EMAIL PROTECTED]> wrote: > To think about how this works under mod_perl, pretend that > all of your scripts are put together into > 1 larger script and all those "use" statements > are repeated. Does having multiple "use CGI" > statements make your script us

Reducing memory usage using fewer cgi programs

2008-10-17 Thread Thomas Hilbig
I have about a dozen small cgi programs under mod_perl2 that all pretty well look like this.. use CGI; use DBI; use perlchartdir ; # graphing fetch parameters build SQL and fetch data from database build graph image from data send image Under mod_perl, will the memory footprint of the lib

RE: [RELEASE CANDIDATE] mod_perl-2.0.4 RC1

2008-04-16 Thread Thomas
, 0.00% okay Tested on: Windows XP SP2 32 bit Activestate perl build 1002 ASF Apache 2.2.8 With: Visual Studio .NET 2003 All test passed OK - - - Thomas den Braber

activestate perl build 822 and modperl

2007-10-25 Thread Thomas
; The above is from a Windows XP SP2 machine with all windows patches applied. Does this make sense ? --- Thomas den Braber

activestate perl build 822 and modperl

2007-10-23 Thread Thomas
child process 4492 [Tue Oct 23 22:59:14 2007] [crit] master_main: create child process failed. Exiting. [Tue Oct 23 22:59:14 2007] [notice] Parent: Forcing termination of child process 36 The above is from a Windows XP SP2 machine with all windows patches applied. Does this make sense ? ---

Apache::LogFile and mod_perl2

2007-10-09 Thread Dan Thomas
Hi, I'm in the process of shifting some old mod_perl1 code over to Apache2.2 and mod_perl2. Part of it is using Apache::LogFile to write to a custom log. Well.. actually, it pipes the data to a little script that collects up lines and forks off processes to deal with them when it's got a handful (

auto_index extension to filter on update time

2007-07-16 Thread Thomas Hilbig
Does anyone have any MP code to extend the functionality of the mod_autoindex to include a new filter that is based on files that are before or after a last-modified date? Please excuse my lack of MP handler experience, I don't know how easy (or not) this would be. It seems that this kind of filt

Re: TIPool

2007-06-17 Thread Thomas den Braber
-Original Message- From: Jonathan Vanasco <[EMAIL PROTECTED]> > > On Jun 16, 2007, at 11:13 AM, Perrin Harkins wrote: > > > 300 is nothing for MySQL. You should be able to handle a few > thousand > > on a machine with enough RAM. > > agreed. MySQL connections are cheap. Postgres o

Re: TIPool

2007-06-16 Thread Thomas den Braber
more deeper in to this to sea what the balance extra overhead vs. fewer DB connection is. -- Thomas den Braber

RE: TIPool

2007-06-15 Thread Thomas
But you read this one anyway. Does this say anything about the subject? - Thomas > Onderwerp: Re: TIPool > > Not wanting to nitpick, but I'm going to a bit anyway... > > When people post to this newsgroup can they please try and come up with > subject lines that

RE: TIPool

2007-06-15 Thread Thomas
performance and less memory maybe ? Thomas

Re: modperl2 + apache2.2 unable to restart

2007-06-15 Thread Thomas den Braber
he service stopped, a 'start' that works most of the time. - Thomas den Braber -Original Message- From: Octavian Rasnita <[EMAIL PROTECTED]> To: Raymond Wan <[EMAIL PROTECTED]>, Foo JH Cc: modperl@perl.apache.org Date: Fri, 15 Jun 2007 13:09:43 +0200 Subject: Re

RE: modperl2 + apache2.2 unable to restart

2007-06-15 Thread Thomas
tion parameters. -- Thomas den Braber > -Oorspronkelijk bericht- > Van: Foo JH [mailto:[EMAIL PROTECTED] > Verzonden: vrijdag 15 juni 2007 11:05 > Aan: Perrin Harkins > CC: modperl@perl.apache.org > Onderwerp: Re: modperl2 + apache2.2 unable to restart > > Pe

TIPool

2007-06-15 Thread Thomas
the TIPool mechanism, which, for example, will make it possible to share a pool of DBI connections.’ Is this project still alive ? Will this be an Perl interface to apr_dbd ? ---- Thomas den Braber<>

YAPC::Europe Call for Hackathons

2007-04-04 Thread Thomas Klausner
We're also still looking for regular talks: http://vienna.yapceurope.org/ye2007/cfp.html Hope to see you in Vienna, Thomas Klausner on behalf of Vienna.pm -- #!/usr/bin/perl http://domm.zsi.at for(ref bless{},just'another'perl'hacker){s-:+-$"-g&&print$_.$/}

Re: some 2007 conference dates

2007-03-20 Thread Thomas Klausner
Hi! On Tue, Mar 20, 2007 at 09:19:29PM -0400, Jim Martinez wrote: > YAPC::NA June 25th through 27th, Houston, Texas > http://conferences.mongueurs.net/yn2007/ > Abstract Submission Deadline - April 9th There's also YAPC::Europe, 28th to 30th August 2007, in Vienna, Austria http://vienna.yap

Re: Problems with __DATA__ within a module/handler and mod_perl2 (Own handler - NO CGI script) - Bug?

2006-09-18 Thread Thomas Wittek
Perrin Harkins schrieb: > Thomas Wittek wrote: >> The cursor on the DATA filehandle will be wrong: > > I think you just need to rewind it after reading it. See the docs for > seek() and tell(). Here's an example: No, the position is already wrong before any read.

Problems with __DATA__ within a module/handler and mod_perl2 (Own handler - NO CGI script) - Bug?

2006-09-18 Thread Thomas Wittek
has a length of 133 bytes). In other, larger modules the cursor sometimes is positioned somewhere in the middle of the DATA section. I don't think that this is the intended behaviour. It works fine when not preloading the module. It also works fine on Apache1/mod_perl1. Any ideas? Thanks! -Thomas

RE: Protecting source code

2006-08-25 Thread Thomas
mod_perl ? Does anyone has experience with this in combination with mp2. Regards, Thomas den Braber

Re: "use overload" with Apache2::Reload

2006-06-13 Thread Thomas Nagel
efore MyClass::stringify reference points to a non-existing code location (Not a CODE reference at..) (4) The in place anonymous sub works but maybe with the old results as the sub is still 'in place' and can be called directly Again: only a guess ;-) -Thomas smime.p7s Description: S/MIME Cryptographic Signature

Followup: POST form hanging at new CGI

2006-06-04 Thread Thomas Hilbig
her router to test that possibility. Thanks for the feed-back. If anyone still has any suggestions or experience with this, I'd love to hear it. Regards, Tom --- Thomas Hilbig <[EMAIL PROTECTED]> wrote: > I recently updated my Linux/Apache/MP2 environment, > in > part ho

Re: POST form hanging at new CGI

2006-05-18 Thread Thomas Hilbig
--- Enno <[EMAIL PROTECTED]> wrote: > > Just so I'm clear on this, you think the customers > > that are having the problem are using a > 2.0.55-based > > proxy and my end is simply waiting for the rest of > the > > data? I am assuming the one client is using a > > Symantec proxy because of the

Re: POST form hanging at new CGI

2006-05-18 Thread Thomas Hilbig
--- Enno <[EMAIL PROTECTED]> wrote: > Let me guess, they are using apache 2.0.55 as > proxy... > mod_proxy in 2.0.55 has problems with properly > delivering chunked > encoding. > The CGI.pm error sounds very familiar to the one I > had with apache 2.0.55 > proxy. > > 2.0.54 and 2.2.2 dont have

POST form hanging at new CGI

2006-05-18 Thread Thomas Hilbig
I recently updated my Linux/Apache/MP2 environment, in part hoping to resolve a problem that occurs with about 10% of my clients. These clients experience a timeout from my server when they submit a form using POST having more than about 15KB of data (from httpd access_log -- the actual posted dat

Re: Runaway CPU/memory on MP2 after Oracle upgrade

2006-05-17 Thread Thomas Hilbig
--- [EMAIL PROTECTED] wrote: > I don't use Apache::DBI(maybe I should) and use > DBD-Oracle however the > error looks very familar - > > Quick fix : - vi /etc/ld.so.conf and add the oracle > lib path. > - run ldconfig > > I set my ORACLE_HOME etc in httpd.conf. > > David K

Re: Runaway CPU/memory on MP2 after Oracle upgrade

2006-05-17 Thread Thomas Hilbig
--- Perrin Harkins <[EMAIL PROTECTED]> wrote: > On Wed, 2006-05-17 at 09:06 -0700, Thomas Hilbig > wrote: > > If I try to run the > > environment under Mod_Perl (PerlResponseHandler > > ModPerl::Registry), the httpd process consumes all > CPU > > and all

Re: Runaway CPU/memory on MP2 after Oracle upgrade

2006-05-17 Thread Thomas Hilbig
--- Frank Wiles <[EMAIL PROTECTED]> wrote: > On Wed, 17 May 2006 09:06:07 -0700 (PDT) > Thomas Hilbig <[EMAIL PROTECTED]> wrote: > > > install_driver(Oracle) failed: Can't load > > > '/usr/lib/perl5/site_perl/5.8.5/i386-linux-thread-multi/auto/DB

Runaway CPU/memory on MP2 after Oracle upgrade

2006-05-17 Thread Thomas Hilbig
I'm stuck! I have two systems (production and backup/development) running Fedora Core 3, MP2 and Oracle 10g. Both systems are behind in several updates. I updated the backup/development system's kernel, httpd/mp2, and Perl modules to the latest and greatest. Everything worked fine at that point.

Re: Reinstall gets Can't locate Apache.pm

2006-05-07 Thread Thomas Hilbig
--- Thomas Schindl <[EMAIL PROTECTED]> wrote: > Why do you have set MOD_PERL in the environment when > running on the command > line? Whether it's Apache or Apache2 doesn't matter > it doesn't make sense to > run modules which rely on apache-API from the &g

Re: Reinstall gets Can't locate Apache.pm

2006-05-05 Thread Thomas Schindl
Why do you have set MOD_PERL in the environment when running on the command line? Whether it's Apache or Apache2 doesn't matter it doesn't make sense to run modules which rely on apache-API from the commandline does it? Tom > --- Ursprüngliche Nachricht --- > Von: Thomas Hil

Re: Reinstall gets Can't locate Apache.pm

2006-05-05 Thread Thomas Hilbig
--- Tyler MacDonald <[EMAIL PROTECTED]> wrote: > Thomas Hilbig <[EMAIL PROTECTED]> wrote: > > I was getting the error even from running perl > > interactively > > linux>perl > > use CGI ; > > Can't locate Apache.pm in @INC > > > &

Re: Reinstall gets Can't locate Apache.pm

2006-05-05 Thread Thomas Hilbig
this problem at all. Any > > suggestions? > > Thomas, > > The problem isn't with your /lib/ tree at all, it > has to be > with your code. One of your perl modules, or a > module you are using, is > trying to &qu

Re: Reinstall gets Can't locate Apache.pm

2006-05-05 Thread Thomas Hilbig
--- Tyler MacDonald <[EMAIL PROTECTED]> wrote: > Thomas Hilbig <[EMAIL PROTECTED]> wrote: > > I tried to reinstall CGI, Bundle::Apache2, but > still > > got the error. Finally, I renamed the > /usr/lib/perl5 > > directory and am trying to reinstall Per

Reinstall gets Can't locate Apache.pm

2006-05-05 Thread Thomas Hilbig
I had an old problem with a backup server that I am trying to fix while updating perl, Apache, and mod_perl2. My CGI scripts worked under Apache/MP2, however, everytime I tried to run them from in a shell I got "Can't locate Apache.pm". This was even though I had installed Bundle::Apache2 and CG

Re: [OT] Using MP for Auto Index w/if-modified-since

2006-04-05 Thread Thomas Hilbig
Correction: meant to say "if-modified-since" for the auto index directory listing --- Thomas Hilbig <[EMAIL PROTECTED]> wrote: > A client of mine provides a data service using > Apache > 2 and auto indexing. Their clients automatically > poll > their system

[OT] Using MP for Auto Index w/last-modified-date

2006-04-05 Thread Thomas Hilbig
A client of mine provides a data service using Apache 2 and auto indexing. Their clients automatically poll their system and pull the data from the http directories as it is generated. Their typical directories have 24 hourly files for the last 4 months (about 3000 files in each directory). A ne

RE: No image creation in mod_perl (was RE: Apache2/MP2 Segfaults ...)

2006-03-27 Thread Thomas den Braber
e and size are OK so copy to thumb cache } else { copy($sourcefile,$cachedfile) or $status = "Copy failed: $!"; } $self->cleanuplockfile(); return } Thomas den Braber

[mp2] libspreq2 2.07 read_limit

2006-02-23 Thread Thomas den Braber
formation error If I don't set: print $req->read_limit(); gives 67108864 Is there some hardcoded limit in libapreq2 ? Width 2.06dev there was no problem. Thanks, Thomas den Braber

Re: Persistent DB Connection problem

2005-12-14 Thread Thomas Schindl
Hi, you are right Jonathan at the moment there's no real DB-Pool implementation available like one knows it e.g. from Java. a. Connection-Pool(Connection1, Connection2) b. Apache-Child-1 "Request-Starts": -> Connection1 = Pool->fetchConnection(); -> Connection1->executeQuery("SELECT * FROM

Re: The apache CPU race..

2005-12-05 Thread Thomas Schindl
Without seeing any code about what you are doing we cann't say much. Tom > --- Ursprüngliche Nachricht --- > Von: Fredrik Lindmark <[EMAIL PROTECTED]> > An: modperl@perl.apache.org > Betreff: The apache CPU race.. > Datum: Tue, 6 Dec 2005 03:36:05 -0200 > >PID COMMAND %CPU TIME #TH #

Re: MP2 - DBI Problem only under mod_perl: OCIEnvNlsCreate - MOSTLY SOLVED

2005-09-07 Thread Thomas Hilbig
--- Geoffrey Young <[EMAIL PROTECTED]> wrote: > > DBD::Oracle needs these variables when DBD::Oracle > is loaded. which means > they need to be in %ENV _before_ the script that > first use()s DBD::Oracle is > loaded. httpd.conf is generally too late if you > preload your modules via a > startup.

Re: MP2 - DBI Problem only under mod_perl: OCIEnvNlsCreate (check ORACLE_HOME and NLS settings)

2005-09-07 Thread Thomas Hilbig
--- Perrin Harkins <[EMAIL PROTECTED]> wrote: > > See PerlPassEnv: >http://perl.apache.org/docs/1.0/guide/config.html#PerlSetEnv_and_PerlPassEnv This didn't help, as expected since I already had the PerlSetEnv in my httpd.conf file. PerlSetEnv sets and passes the environment variables; but I did

Re: MP2 - DBI Problem only under mod_perl: OCIEnvNlsCreate (check ORACLE_HOME and NLS settings)

2005-09-07 Thread Thomas Hilbig
--- "Philip M. Gollucci" <[EMAIL PROTECTED]> wrote: > Thomas Hilbig wrote: > > > $ENV{ORACLE_HOME}='/home/oracle/product/10.2.0/db_1'; > > $ENV{'ORACLE_SID'}="tomdb1"; > > > > > $ENV{'LD_LIBRARY_PA

Re: MP2 - DBI Problem only under mod_perl: OCIEnvNlsCreate (check ORACLE_HOME and NLS settings)

2005-09-06 Thread Thomas Hilbig
--- Praveen Ray <[EMAIL PROTECTED]> wrote: > --- Perrin Harkins <[EMAIL PROTECTED]> wrote: > > > On Tue, 2005-09-06 at 06:23 -0700, Thomas Hilbig > wrote: > > > I am struggling with a (simple?) DBI problem > under MP2 > > > on Fedora Core 3. A

MP2 - DBI Problem only under mod_perl: OCIEnvNlsCreate (check ORACLE_HOME and NLS settings)

2005-09-06 Thread Thomas Hilbig
Hi, I am struggling with a (simple?) DBI problem under MP2 on Fedora Core 3. A script that uses Oracle-DBI works under regular CGI but fails under MP2 with the following error: ERROR OCIEnvNlsCreate (check ORACLE_HOME and NLS settings etc.) My test script dumps out the environment varables an

RE: Apache::DBI patches

2005-08-09 Thread Joe Thomas
These patches were originally by Patrick Mulvany, and posted to mod_perl in 2003. I've made sure they apply to Apache-DBI-0.99, and are compatible with my re-scoping of $Idx. The ping patch looks obviously correct to me. It makes sure that the database is always pinged on connect() if PingTimeOu

RE: Apache::DBI patches

2005-08-09 Thread Joe Thomas
> While you're at it, can you post 2 separate ones instead of 1. Here's the first patch. It moves $Idx from being a file-scoped variable to connect() scope. The cleanup handler is then passed a closure containing $Idx: $s->push_handlers("PerlCleanupHandler", sub { cleanup($Idx) }); or

RE: Apache::DBI patches

2005-08-09 Thread Joe Thomas
> I'll attempt take a look at this sometime this week. At first glance I > think I have some questions about it. I'll get back to you after more > thorough investigation. > > Please CC the modperl@perl.apache.org list as I'm not technically the > maintainer, Ask still is, and its supposed to

Re: [mp2] CGI.pm porting/co-existence questions

2005-08-07 Thread Thomas Hilbig
--- "Philip M. Gollucci" <[EMAIL PROTECTED]> wrote: > > fetching/setting cookies > > fetching parameters (GET arguments or POST) > use APR::Request::* > Its faster as its in XS glue code. That does look like it will do it just as simply as CGI.pm. APR::Request (libapreq) wasn't part of th

mod_perl2 and PHP

2005-08-06 Thread Thomas Klausner
Hi! Is it possible and advisable to write the complex part of an application (the Controller, if you like) in mod_perl2 and use PHP as a frontend (or View) ? While I personally prefere Template::Toolkit as a presentation language, the project I'm currently getting involved in has quite a lot of P

[mp2] CGI.pm porting/co-existence questions

2005-08-05 Thread Thomas Hilbig
I have many CGI scripts running under mp2 using ModPerl::Registry, that I want to re-architect to use more Apache API's (for speed) and handlers (i.e. authentication, logging). I have been getting up to speed on the mp2 docs these past couple of weeks.I haven't really seen any good recommenda

Re: Apache::Test too late for PerlSwitches

2005-07-11 Thread Thomas Nagel
ess I overread it of course ;-) Thomas smime.p7s Description: S/MIME Cryptographic Signature

Re: Apache::Test too late for PerlSwitches

2005-07-11 Thread Thomas Nagel
org/docs/2.0/user/config/custom.html Is there anything I have to consider if I use custome Configuration directives with Apache::Test? Thomas smime.p7s Description: S/MIME Cryptographic Signature

Apache::Test too late for PerlSwitches

2005-07-11 Thread Thomas Nagel
mp; make && make test gives me -- snip - waiting 60 seconds for server to start: .Syntax error on line 111 of /var/home/thomas/projects//t/conf/httpd.conf: mod_perl is already running, too late for PerlSwitches [ error] serv

Re: Lost my

2005-07-03 Thread Thomas Hilbig
--- Fred Moyer <[EMAIL PROTECTED]> wrote: > If you post a code snippet that might give us some insight into what the problem is. > CGI Code snippet is below. While my goal was to include the header(), $q->start_html( -title=>'Scroll Test', -script=>{-code=>$ja

Re: Lost my

2005-07-03 Thread Thomas Hilbig
--- "Philip M. Gollucci" <[EMAIL PROTECTED]> wrote: > Did you update the CGI.pm version on your system? > > You need CGI.pm 3.10 to work with mp2.0.0. > > If you are using CGI.pm 3.10 what version were you > using before? Doing a > diff might be helpful... Things have changed but > enough that

Re: Lost my

2005-07-03 Thread Thomas Hilbig
--- Fred Moyer <[EMAIL PROTECTED]> wrote: > Are you setting $r->content_type('text/xml')? If > you post a code > snippet that might give us some insight into what > the problem is. > The actual CGI script uses the standard Lincoln Stein library under MP2, and not yet taking advantage of MP2 cod

Lost my

2005-07-01 Thread Thomas Hilbig
Since updating to mp2.0.0 and httpd 2.0.54, my CGI scripts no longer include the heading at the top: This is causing grief to some browsers (IE6 and Firefox) in that some of the CSS layout properties aren't working (document.body.scrollTop is always 0). I'm not sure if there is an httpd, mp2

Re: trying to build a statically-linked apache2/mod_perl2

2005-06-25 Thread Danny Thomas
erl/v5.8.7 [ error] Can't find apr include/ directory, [ error] use MP_APR_CONFIG=/path/to/apr-config -- [EMAIL PROTECTED]Danny Thomas, +61-7-3365-8221Software Infrastructure, http://www.its.uq.edu.auITS, The University of Queensland

trying to build a statically-linked apache2/mod_perl2

2005-06-25 Thread Danny Thomas
che/httpd-2.0.54/support/apxs ? MP_APXS=/opt/src-local/apache/httpd-2.0.54/support/apxs Reading Makefile.PL args from @ARGV MP_USE_STATIC = 1 MP_AP_PREFIX = /opt/src-local/apache/httpd-2.0.54 MP_AP_CONFIGURE = --prefix=/opt/apache --with-mpm=prefork MP_APXS = /opt/src-local/apache/httpd-2.0.54/support/apxs [ error] You need to pass either MP_AP_PREFIX or MP_APXS, but not both -- [EMAIL PROTECTED]Danny Thomas, +61-7-3365-8221Software Infrastructure, http://www.its.uq.edu.auITS, The University of Queensland

Re: Help (Desperate) - Install Bundle::Apache2 catastrophic

2005-06-12 Thread Thomas Hilbig
--- Fred Moyer <[EMAIL PROTECTED]> wrote: > Does this mean you are using the mod_perl2 install > that came with Fedora > Core 3 (1.99.16 iirc)? If so, that is incompatible > with Bundle::Apache2 > if my guess is right because CGI.pm 3.10 will be > using the Apache2 > namespace. Try removing your

Re: Help (Desperate) - Install Bundle::Apache2 catastrophic

2005-06-12 Thread Thomas Hilbig
--- Michael Peters <[EMAIL PROTECTED]> wrote: > > This error comes from the fact that > register_cleanup() is now > cleanup_register() and is in the APR::Pool package, > so you need to > use APR::Pool (); > > But, since CGI.pm is throwing these errors, I'd say > it's because you > haven't upgra

  1   2   >