Re: MapToStorageHandler and custom config

2006-10-27 Thread Geoffrey Young
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 con

Re: MapToStorageHandler and custom config

2006-10-27 Thread William A. Rowe, Jr.
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 pe

Re: MapToStorageHandler and custom config

2006-10-27 Thread Fred Moyer
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

MapToStorageHandler and custom config

2006-10-27 Thread John ORourke
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

Re: Re: method handlers

2006-10-27 Thread Jordan McLain
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 wil

warnings going to wrong log

2006-10-27 Thread Peter Rosenthal
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 (/var/log/httpd/er

Re: method handlers

2006-10-27 Thread John ORourke
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

Re: How to get virtualhost info in mod_perl?

2006-10-27 Thread Philip M. Gollucci
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 th