problem porting to threaded mode

2008-12-31 Thread craig
Trying to shift our largely mod_perl2 web site to an Apache2 threaded MPM and perl ithreads. The following works under the non-threaded prefork MPM: use DB_File; my @dbs; # array of hash references my @dbModTime; # mod times of db files my @dbfns; # array of database pathnames # exe

Re: preserving request body across redirects

2008-12-31 Thread Mark Hedges
> > Oh no, the framework doesn't depend on using a session > > at all. Just this particular auth module depends on > > plugging in the session beforehand. > > So I have to have a persistant backstoring session in > order to use the auth module?  Well, now, but as you recommended, maybe not neces

Re: preserving request body across redirects

2008-12-31 Thread David Ihnen
Mark Hedges wrote: - a lot of times people use references to other structures when they should subclass... these references function only to re-map arguments to other modules, which is ridiculous. Careful on the should. It can seem extra and possibly confusing but isn't always. Delegation i

Re: preserving request body across redirects

2008-12-31 Thread Mark Hedges
On Wed, 31 Dec 2008, Foo JH wrote: > Mark Hedges wrote: > > http://search.cpan.org/~markle/Apache2-Controller-1.000.001/ > Very interesting. I have a controller which functions in a > slightly different way, but it's good to see alternative > approaches. I think yours makes life easier. Thanks Fo

Re: HTTP Response Headers fixup

2008-12-31 Thread David Ihnen
André Warnier wrote: One of my questions is thus : assuming I keep adding this custom header "Test-Header" via mod_headers, will it be visible by the HTTPHeadersFixup subclass I create and configure ? Its an output connection filter, so I can't imagine it wouldn't work as you expect. if yes,

HTTP Response Headers fixup

2008-12-31 Thread André Warnier
Hi. I have a peculiar problem, and need a peculiar solution. In an Apache 2.2.3, mod_jk, Tomcat 5.5.x, mod_perl2, perl 5.8.8, Linux environment, some links are being re-directed by Apache via mod_jk, to a back-end Tomcat server, and a webapp running in that server. For reasons that are off-to