[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]

Re: Odd difference between "restart" and "stop - start".


On 6/8/07, Krist van Besien <suppressed> 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


Mail converted by mhonarc 2.6.15
This archive provided courtesy of JSW4.NET, Internet Hosting Services for Small Business.