On Thursday 26 October 2006 21:07, Philippe M. Chiasson wrote:
Terry, Jason wrote:
$ENV{‘SERVER_NAME’}
That wold also work.
But in general, I wouldn't recommend using %ENV from within mod_perl,
Can I ask why not? I was of the same opinion, mainly because %ENV is
populated for every
this one time in band camp Kjetil Kjernsmo said on 10/26/06 23:59:
On Thursday 26 October 2006 21:07, Philippe M. Chiasson wrote:
Terry, Jason wrote:
$ENV{‘SERVER_NAME’}
That wold also work.
But in general, I wouldn't recommend using %ENV from within mod_perl,
Can I ask why not? I was of
Jordan McLain wrote:
just noticed... in the actual code 'handler' is prototyped with ($$)
sub handler {
my ($class, $r) = @_;
my $self = ... # something hashref-ish
I will end up writing another new() for use when not called directly
from apache. Is this bad style, since the method
Hello,I have mod_perl applications running in multiple virtual-hosts with multiple parent perl interpreters (vhost config has PerlOptions +Parent set). However, when a script running on one of these vhosts calls warn the output goes to the apache error log in the global context
Ahh, I see. Great tip. Thanks alot.
Jordan
On 10/27/06, John ORourke [EMAIL PROTECTED] wrote:
Jordan McLain wrote:
just noticed... in the actual code 'handler' is prototyped with ($$)
sub handler {
my ($class, $r) = @_;
my $self = ... # something hashref-ish
I will end up
Hi folks,
I've implemented some custom config directives, works fine.
However, when my MapToStorage handler asks for the per_dir_config hash,
it seems to be getting the server config - all other handlers get the
per-dir no problem.
Any ideas?
cheers
John
On Fri, 27 Oct 2006, John ORourke wrote:
Hi folks,
I've implemented some custom config directives, works fine.
However, when my MapToStorage handler asks for the per_dir_config hash, it
seems to be getting the server config - all other handlers get the per-dir no
problem.
My guess is that
Fred Moyer wrote:
On Fri, 27 Oct 2006, John ORourke wrote:
Hi folks,
I've implemented some custom config directives, works fine.
However, when my MapToStorage handler asks for the per_dir_config
hash, it seems to be getting the server config - all other handlers
get the per-dir no
William A. Rowe, Jr. wrote:
Fred Moyer wrote:
On Fri, 27 Oct 2006, John ORourke wrote:
Hi folks,
I've implemented some custom config directives, works fine.
However, when my MapToStorage handler asks for the per_dir_config
hash, it seems to be getting the server config - all other handlers