Re: mod_perl[12] + DBD::Oracle under Debian

2006-06-29 Thread Rob Bloodgood
Philip M. Gollucci wrote: >> PerlSetEnv ORACLE_HOME /usr/local/instantclient_10_2 >> PerlRequire startup.pl > You might also look at PerlPassEnv. Except for the fact that the whole reason I had the problem was that the Debian startup script for apache *clears* the environment. And I quote: "On D

mod_perl[12] + DBD::Oracle under Debian

2006-06-28 Thread Rob Bloodgood
So, this problem just took 2 days away from me: I'm moving a site we have running on an *old* RedHat box to a new Debian sarge box. Which means, of course, I have to make sure all of the pieces are working. A critical piece is, of course, the Database driver, which in my case is Oracle. Our DB

Re: Apache::LogFile?

2005-04-22 Thread Rob Bloodgood
Geoffrey Young wrote: Kevin White wrote: I use the old Apache::LogFile on a mod_perl 1.x app. I'm working on moving to mod_perl 2.x, and find the Apache::LogFile won't compile: Makefile.PL uses Apache::src. since this module use XS calls I suspect that porting it would be a bit more complex than

Re: [BENCHMARK] Server Resources

2005-01-14 Thread Rob Bloodgood
Skylos wrote: My first suggestion based on a migration the company I work for did not too long ago would be to use apache2 in thread mode. There was a staggering drop in system memory resources consumed when we made the shift - from most of a gigabyte to only a few hundred megs! The site's respo

Re[2]: [mp2] Changing response code after access phase

2004-07-19 Thread Rob Bloodgood
Friday, July 16, 2004, 5:31:35 PM, you wrote: SB> Ah, sorry, I'm lost in the sea of methods hahaha I know the feeling. SB> -- I think we have exactly SB> what you want. It should appear in here: SB> http://perl.apache.org/docs/2.0/api/Apache/HookRun.html This was the key I needed. I installed m

Re[2]: [mp2] Changing response code after access phase

2004-07-16 Thread Rob Bloodgood
Friday, July 16, 2004, 12:54:06 PM, you wrote: GY> Rob Bloodgood wrote: >> I'm using mod_access for Allow/Deny, and on Deny it of course responds >> to the client with FORBIDDEN. I've experimented with using a fixup >> handler to change this to a REDIRECT, GY>

[mp2] Changing response code after access phase

2004-07-16 Thread Rob Bloodgood
I'm using mod_access for Allow/Deny, and on Deny it of course responds to the client with FORBIDDEN. I've experimented with using a fixup handler to change this to a REDIRECT, but when I access the request object, $r->status seems to *always* be 200 OK. I haven't been able to locate an API call th