In addition to Apache::Reload, you can do this sort of thing by having your processes check periodically to see if your configuration file has changed.
Perrin, is it possible to make an Apache process(under mod_perl) do something like this? Basically if we try to achieve this by posting HTTP requests you never know if all the processes will be affected. Correct? So how would you make this periodic polling?
Thanks very much for the replies.
Thanks,
Ganesh
| [reply] |
Yes, mod_perl is what I'm talking about here (although you could do something similar in any persistent environment). You don't need to contact all processes at once -- you just need them to check for this when they do get a request. In other words, make all of your processes check at the beginning of any new request for a change in their environment and take action if they discover one.
| [reply] |