Re: use global data in handler (was : custom proxy setup with mod_perl)

2012-11-25 Thread Perrin Harkins
It sounds like you have it right. If you don't define the package variable $URLS during startup, it will be undef when the child process handles the first request and will keep whatever data you put into it after that. - Perrin On Sat, Nov 24, 2012 at 8:09 AM, André Warnier a...@ice-sa.com

use global data in handler (was : custom proxy setup with mod_perl)

2012-11-24 Thread André Warnier
Hi. This refers indirectly to the thread custom proxy setup with mod_perl, but is more general, I believe. For the PerlFixupHandler which was discussed before, I need to compare the current request URL to a predefined static list of URLs, to decide how exactly to proxy this call. At the

Re: use global data in handler (was : custom proxy setup with mod_perl)

2012-11-24 Thread Fred Moyer
On Sat, Nov 24, 2012 at 5:09 AM, André Warnier a...@ice-sa.com wrote: For the PerlFixupHandler which was discussed before, I need to compare the current request URL to a predefined static list of URLs, to decide how exactly to proxy this call. At the moment, there are about 15 URLs in that