in reply to Module updates require webserver restart?

This might just be your browser caching old script output. If you edit the script, you need to force a new page reload to get the new output, rather than the old (cached) output. You can do this with a "shift-reload" (hold down shift key while clicking reload button) - at least, this works in IE, Netscape, and Firefox.
  • Comment on Re: Module updates require webserver restart?

Replies are listed 'Best First'.
Re^2: Module updates require webserver restart?
by zer (Deacon) on May 03, 2007 at 17:36 UTC
    That is possible. One method of fixing this would be to use the POST method rather then the GET.

    mod_cgi has the docs for the module that executes your cgi. I havent seen anything on my server behave the way you described.

    Apache::Reload is a mod_perl thing, so i dont for see it working in your environment. If you see a " LoadModule mod_perl " in your httpd.conf then it is a good sign you are in mod perl but it doesnt sound like that

    The reason mod_perl would make a difference versus just the regular mod_cgi is that mod_perl constantly runs your script. Hence the modules are always stored in memory. Should you refresh the modules the state of the program restarts. With mod_cgi it starts a new instance of the script on each call. So theoretically it loads whatever state the modules are when they are called.