On 6/8/07, Krist van Besien <[EMAIL PROTECTED]> wrote:
When I then set SWITCH to "test" and do a server restart, using httpd -k restart I get the following output: "backend url is http://testserver:8080/app" but, and this is the odd thing, the server keeps forwarding requests to the production server. I exepcted it to start redirecting to the test server. From the output I get it is obvious that the perl section gets executed. But it is as if the @perlconfig that is created is ignored during a restart.
The problem is that the perl interpreter doesn't actually get shut down and replaced by a new one if you do a restart. That's why you need to fully stop and start the server when using mod_perl. - Perrin