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

2006-05-10 Thread Lionel MARTIN
Hi, I'v really tried to reduce everything to a minimum to insulate the problem. So, here's the config file: # ServerName MYSERVER ServerRoot "C:\Program Files\Apache Group\Apache2\TestingFromScratch\ApacheModPerl" DocumentRoot "htdocs" Listen 80 LoadModule mime_module ../../modules/mod_m

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

2006-05-10 Thread Malcolm J Harwood
On Thursday 11 May 2006 01:40 am, Lionel MARTIN wrote: > I tried to put a "LogLevel debug" in my httpd.conf, so that everything gets > logged, but this didn't make a difference: my warn messages don't get > logged. > What else could I try, in order to find out why? Are your logs going through sy

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

2006-05-10 Thread Lionel MARTIN
Hi, I tried to put a "LogLevel debug" in my httpd.conf, so that everything gets logged, but this didn't make a difference: my warn messages don't get logged. What else could I try, in order to find out why? If I'm running a script with that: warn "warning\n"; die "dying\n"; Then, "waning" do

Re: exceedingly stupid mapping question

2006-05-10 Thread Octavian Rasnita
From: "Jonathan Vanasco" <[EMAIL PROTECTED]> > I've got mp set up to handle a bunch of directories off of / - super > simple > > I want to toss my index.html and a few other pages through modperl > > i can't seem to figure out how to map files to a handler and not > directories > > this, i

Re: exceedingly stupid mapping question

2006-05-10 Thread Frank Wiles
On Wed, 10 May 2006 15:58:08 -0400 Jonathan Vanasco <[EMAIL PROTECTED]> wrote: > I've got mp set up to handle a bunch of directories off of / - super > simple > > I want to toss my index.html and a few other pages through modperl > > i can't seem to figure out how to map files to a handler and

exceedingly stupid mapping question

2006-05-10 Thread Jonathan Vanasco
I've got mp set up to handle a bunch of directories off of / - super simple I want to toss my index.html and a few other pages through modperl i can't seem to figure out how to map files to a handler and not directories this, i think, is the dumbest and simplest question i've ever asked

Re: memory question

2006-05-10 Thread Jonathan Vanasco
On May 10, 2006, at 2:46 PM, Perrin Harkins wrote: If you say "use Foo" twice, it will only load it the first time, even if you change @INC. Is that what you're asking? yep. i've got FOO in two locations - wanted to make sure I wasn't creating a problem

Re: Using Apache::DBI

2006-05-10 Thread Perrin Harkins
On Wed, 2006-05-10 at 10:26 -0700, Jay Buffington wrote: > At first I was caching the database handle myself when running outside > of mod_perl. In mod_perl I was relying on Apache::DBI returning the > same handle every time I called connect(). That didn't work. What didn't work about it? If yo

Re: memory question

2006-05-10 Thread Perrin Harkins
On Wed, 2006-05-10 at 14:41 -0400, Jonathan Vanasco wrote: > contents of the directories are: > > /webserver/sites/myApp/lib > myApp > sharedLib > > webserver/sites/myOtherApp/lib: > myOtherApp > sharedLib > > > based on what I'm seeing , i *think* that modperl is just d

memory question

2006-05-10 Thread Jonathan Vanasco
I've got 2 apps running on mod_perl both are in their own sep. namespace , but both also use a shared library/package the issue is that the shared library isn't installed into the system, it works like this: app a - startup.pl use lib qw( /webserver/sites/myApp/lib ); app b - sta

Re: Using Apache::DBI

2006-05-10 Thread Jonathan Vanasco
On May 10, 2006, at 1:26 PM, Jay Buffington wrote: I want my modules to be able to get a the same database handle anywhere they need it during a single request (if under mod_perl) or the life time of the script they're in. At first I was caching the database handle myself when running outside

Re: Using Apache::DBI

2006-05-10 Thread Jay Buffington
I want my modules to be able to get a the same database handle anywhere they need it during a single request (if under mod_perl) or the life time of the script they're in. At first I was caching the database handle myself when running outside of mod_perl. In mod_perl I was relying on Apache::DBI

Re: Dealing with malformed cookies

2006-05-10 Thread Kjetil Kjernsmo
On Tuesday 09 May 2006 20:34, Jonathan Vanasco wrote: > On May 9, 2006, at 5:30 AM, Kjetil Kjernsmo wrote: > > First of all, is it the intended behavior that libapreq2 should die > > under these circumstances? > > yes. > > > If yes, are we supposed to deal with this by > > putting each read of a co