Re: DBI connections build up..

2001-09-13 Thread Jeff Beard
On Thu, 13 Sep 2001, DJ (David J Radunz) wrote: use strict; use vars ($dbh); You don't need this with Apache::DBI. Globals in general should be avoided/used with extreme caution. use mod_perl; Don't need this either. 1; END { $dbh-disconnect; } Put this before the '1;' or just

Re: DBI connections build up..

2001-09-13 Thread Ged Haywood
Hi there, On Thu, 13 Sep 2001, DJ (David J Radunz) wrote: the database connections just keep building up. Read the database section of the Guide: http://perl.apache.org/guide 73, Ged.

AxKit and Last-Modified (again)

2001-09-13 Thread Brian Wheeler
I tried Matt Robin's suggestion of AxOutputTransformer, but apparently the version of AxKit I'm running (# $Id: AxKit.pm,v 1.105 2001/06/05 15:10:41 matt Exp $) doesn't support that directive... Any other thoughts? Worst case: could I run all output through a dummy filter using Apache::Filter

Re: AxKit and Last-Modified (again)

2001-09-13 Thread Robin Berjon
On Thursday 13 September 2001 16:03, Brian Wheeler wrote: I tried Matt Robin's suggestion of AxOutputTransformer, but apparently the version of AxKit I'm running (# $Id: AxKit.pm,v 1.105 2001/06/05 15:10:41 matt Exp $) doesn't support that directive... Iirc AxKit 1.4 supports it and that is

Re: AxKit and Last-Modified (again)

2001-09-13 Thread Brian Wheeler
On Thu, 2001-09-13 at 09:19, Robin Berjon wrote: On Thursday 13 September 2001 16:03, Brian Wheeler wrote: I tried Matt Robin's suggestion of AxOutputTransformer, but apparently the version of AxKit I'm running (# $Id: AxKit.pm,v 1.105 2001/06/05 15:10:41 matt Exp $) doesn't support that

Re: AxKit and Last-Modified (again)

2001-09-13 Thread Robin Berjon
On Thursday 13 September 2001 16:43, Brian Wheeler wrote: On Thu, 2001-09-13 at 09:19, Robin Berjon wrote: Iirc AxKit 1.4 supports it and that is the smallest $VERSION (not given in the CVS string) that I would consider using. If it works on your test server, I'd perhaps even recommend

Persistent Database connections to Oracle

2001-09-13 Thread Flavio D' Amore
Hi! How can i configure the startup.pl in order to use a global symbol such as $lda = Apache::DBI-connect_on_init(... including a persistent database connection to Oracle that's could be shared by other perl scripts? Thanks a lot best regards --- Fl@vio D' Amore

Re: DBI connections build up..

2001-09-13 Thread Perrin Harkins
DJ (David J Radunz) wrote: I am having a problem with a module im writing connecting to the database everytime its run, and not cleaning up the database connection when its finished. Your script uses an END block to disconnect. If you use Apache::Registry, that will not be run until the

RE: Pre-announce Apache::ConfigParser

2001-09-13 Thread mgraham
I swore there was yet a third candidate in this realm, but I didn't see it on brief inspection. Config::General also parses Apache-style config files, but I don't think it handles Apache specific details like contexts. Michael

Apache::LogFile

2001-09-13 Thread Bryan T. Schmidt
Howdy folks... got a wierd one here, although I bet someone knows what to do about it. I am running Apache 1.3.20, mod_perl 1.26, and mod_ssl (most recent version that works with Apache 1.3.20). The following happens with Perl 5.005_03 and 5.6.1. In my httpd.conf, I have : # mod_perl

RFC: Apache::RedirectDBI mod

2001-09-13 Thread George Sanderson
I put my modified version 0.02 at http://www.xorgate.com/Apache/RedirectDBI The original functionality was kept intact. This version allows a DBI field to contain the URI to redirect the client too, and also provides for external REDIRECT. Let me know what you think. I am willing to take over

Re: Persistent Database connections to Oracle

2001-09-13 Thread Stas Bekman
On Thu, 13 Sep 2001, Flavio D' Amore wrote: Hi! How can i configure the startup.pl in order to use a global symbol such as $lda = Apache::DBI-connect_on_init(... including a persistent database connection to Oracle that's could be shared by other perl scripts?

Re: Persistent Database connections to Oracle

2001-09-13 Thread Medi Montaseri
I have a related question How do I confirm that I indeed have a persistent database connection... I have modified my httpd.conf via PerlRequire /path/startup.pl with debuging at level 2...I see the following in my httpd error_log [Thu Sep 13 22:11:34 2001] [notice] Apache/1.3.12 (Unix)