Re: Changing Apache configuration for each request

2011-08-12 Thread Marcus Don
>> Did you "use Apache2::RequestUtil ();"? For a use case refer to >> Apache2::Translation on CPAN. I did, but I was also trying to call the method statically. Forgive me if this is stupid, it's been many years since I've used Perl. What I'm actually doing is creating a proof of concept configura

Re: Changing Apache configuration for each request

2011-08-12 Thread Torsten Förtsch
On Friday, 12 August 2011 15:55:46 Marcus Don wrote: > > Can't locate object method "add_config" via package > > "Apache2::RequestUtil" Did you "use Apache2::RequestUtil ();"? For a use case refer to Apache2::Translation on CPAN. Torsten Förtsch -- Need professional modperl support? Hire me! (

Re: Changing Apache configuration for each request

2011-08-12 Thread Marcus Don
Thank you so much Torston! I had tried this before, but got this error message... > Can't locate object method "add_config" via package "Apache2::RequestUtil" ...so I (incorrectly) concluded this function no longer existed and the documentation was out-of-date. It seems the problem was actually

Re: Changing Apache configuration for each request

2011-08-12 Thread Torsten Förtsch
On Friday, 12 August 2011 11:38:51 Marcus Don wrote: > Please could someone confirm whether what I'm trying to do is possible > with mod_perl and, if it is, give some clues as to how? see $r->add_config in Apache2::RequestUtil. Best place to do it is a PerlMapToStorageHandler (or a PerlFixupHandl

Changing Apache configuration for each request

2011-08-12 Thread Marcus Don
Hi I'm trying to find a way to make certain Apache configuration directives dynamic so they can be changed for each request. At first, I thought I could do this with the Apache2::PerlSections module, but I've now realised all of the examples in the documentation just make changes to the configurat