Log::Log4perl

2004-04-19 Thread Graf László
Hi gurus I have the following configuration: UHU-Linux 1.1 (www.uhulinux.hu) httpd-2.0.49 perl 5.8.3 mod_perl-1.99_13 Log::Log4perl 0.41 The problem is that, the Log::Log4perl used within test.pl (see below) works fine, entering the "test message" into the /var/log/log4perl.log fil

Log::Log4perl

2004-04-19 Thread Graf László
Hi gurus I have the following configuration: UHU-Linux 1.1 (www.uhulinux.hu) httpd-2.0.49 perl 5.8.3 mod_perl-1.99_13 Log::Log4perl 0.41 The problem is that, the Log::Log4perl used within test.pl (see below) works fine, entering the "test message" into the /var/log/log4perl.log fil

Re: [mp2] DBI::ProfileDumper::Apache, etc.

2004-04-19 Thread Stas Bekman
Jay Hannah wrote: After struggling for a few hours it appears DBI::ProfileDumper::Apache isn't Apache2/mp2 ready. True? Has anyone had any luck with any of the DBI profiling mechanisms under Apache2/mp2? I may be able to work around it using command line executions of my scripts, but it sure would

Re: [mp2] [solved] Re: Getting help for MasonX::Apache2Handler

2004-04-19 Thread Stas Bekman
Fred Moyer wrote: On Apr 17, 2004, at 1:03 AM, Stas Bekman wrote: Beau E. Cox wrote: [...] Linux version 2.6.5 (Beau E. Cox on @cathy.beaucox.com) (gcc version 3.3.3) #1 Mon Apr 5 22:15:29 HST 2004 I did this: $ export RTLD_NOW=1 $ perl Makefile.PL [...] Writing Makefile for MasonX::Apache2Handle

Re: [mp2] DBI::ProfileDumper::Apache, etc.

2004-04-19 Thread Perrin Harkins
Jay Hannah wrote: After struggling for a few hours it appears DBI::ProfileDumper::Apache isn't Apache2/mp2 ready. True? I think it should work with Apache::Compat. The only thing I see it using is Apache->server_root_relative(). You could also just run apache with the -X switch (i.e. run only o

[mp2] DBI::ProfileDumper::Apache, etc.

2004-04-19 Thread Jay Hannah
After struggling for a few hours it appears DBI::ProfileDumper::Apache isn't Apache2/mp2 ready. True? Has anyone had any luck with any of the DBI profiling mechanisms under Apache2/mp2? I may be able to work around it using command line executions of my scripts, but it sure would be convenient

Re: [mp2] [solved] Re: Getting help for MasonX::Apache2Handler

2004-04-19 Thread Fred Moyer
On Apr 17, 2004, at 1:03 AM, Stas Bekman wrote: Beau E. Cox wrote: [...] Linux version 2.6.5 (Beau E. Cox on @cathy.beaucox.com) (gcc version 3.3.3) #1 Mon Apr 5 22:15:29 HST 2004 I did this: $ export RTLD_NOW=1 $ perl Makefile.PL [...] Writing Makefile for MasonX::Apache2Handler $ set|grep RTLD RT

Re: mod_perl installation and non-standard perl path in FreeBSD

2004-04-19 Thread Stas Bekman
Andy Harrison wrote: Hoping there might be another FreeBSD user here who may have been through this already... For reasons I don't want to trouble you with, I had to install the latest perl freebsd port into /usr/local/rt3/perl/ and now I need to get mod_perl to compile against that version. Unless

mod_perl installation and non-standard perl path in FreeBSD

2004-04-19 Thread Andy Harrison
Hoping there might be another FreeBSD user here who may have been through this already... For reasons I don't want to trouble you with, I had to install the latest perl freebsd port into /usr/local/rt3/perl/ and now I need to get mod_perl to compile against that version. I edited the freebsd por

Re: strange Apache::Session problem

2004-04-19 Thread petersm
It seems that you are creating an unintended closure. You should try declaring your vars inside of the sub 'checkin' and not outside of it. This may not be your only problem but it's a good place to start. Michael Peters Venzia Levente Janovszki wrote: > > my ( $r, $cookie, %session, $html_c

strange Apache::Session problem

2004-04-19 Thread Levente Janovszki
Hi, I have a problem with Apache::Sesson, I'm using the following code under : Server Version: Apache/1.3.28 (Linux/SuSE) PHP/4.3.3 mod_perl/1.28 perl-Apache-Session-1.54-439 mysql-4.0.15-9 perl-DBI-1.37-49 perl-Msql-Mysql-modules-1.2219-331 -- checkin.pl - #!/usr/bin/perl use strict; u

Re: Refreshing Caches at server restart

2004-04-19 Thread Geoffrey Young
MARTIN MOSS wrote: > All, > > I have a few modules which cache a few arrays. I want to get around the > problem of these arrays staying cached when Apache Restarts gracefully. I > can't have the server stop and start, and Apache::Reload isn't really the > solution for this problem (or at least I

Refreshing Caches at server restart

2004-04-19 Thread MARTIN MOSS
All,   I have a few modules which cache a few arrays. I want to get around the problem of these arrays staying cached when Apache Restarts gracefully. I can't have the server stop and start, and Apache::Reload isn't really the solution for this problem (or at least I don't think it is).   Has anybo

Re: Defining specific vars in conf for a shared script

2004-04-19 Thread Tom Schindl
Why are you not using config files and only set the path to this file like this. PerlSetVar my_cnf /etc/vhostconfs/80.cnf PerlSetVar my_cnf /etc/vhostconfs/81.cnf 80.cnf -8<- HTML_TEMPLATE_ROOT = "/websites/80/templates" ->8- You could read the config-file when

Re: Defining specific vars in conf for a shared script

2004-04-19 Thread Chris Faust
Thanks Geoffrey, That is exactly what I wanted to know. -Chris - Original Message - From: "Geoffrey Young" <[EMAIL PROTECTED]> To: "Chris Faust" <[EMAIL PROTECTED]> Cc: "Tom Schindl" <[EMAIL PROTECTED]>; <[EMAIL PROTECTED]> Sent: Sunday, April 18, 2004 1:23 PM Subject: Re: Defining speci