Re: Setting up perl-virtual-host handlers from startup script or handler, not from apache config, not hardcoded

2012-05-22 Thread Ryan Gies
As you have eluded to, it is the request (not the server) which can be configured as such. Possibly this would work for you: PerlTransHandler +Local::Handlers->startup PerlTransHandler +Local::Handlers->startup package Local::Handlers; # ... sub startup { my $r = ref($_[0]) ? $_[0]

Setting up perl-virtual-host handlers from startup script or handler, not from apache config, not hardcoded

2012-05-19 Thread Andrew Nugged
I can set handlers directly from Apache config: PerlResponseHandler code::A PerlResponseHandler code::B code A called only once and code B once too, only for specific Virtual Hosts. I need to make same config from my startup perl script, I want to read some own config data and then