Re: about ModPerl::Registry

Scott Gifford <[email protected]>
Newsgroups gmane.comp.apache.mod-perl
Message-ID <CADzP0NyooJybA=Tc=fXTkwaFuWCipEg3jP9HH=FaByCd5obLbw@mail.gmail.com>
On Fri, Sep 16, 2011 at 12:12 AM, Jeff Pang <[email protected]> wrote:

> Hello,
>
> When my CGI scripts are moved to run under ModPerl::Registry, and when the
> script is changed, should I restart Apache each time?
>

Hi Jeff,

In general you do, but look at modules like
Apache2::Reload<http://perl.apache.org/docs/2.0/api/Apache2/Reload.html>
for
ways to detect changed files then automatically reload the appropriate
modules.

The approach I usually use is to develop and test under CGI, then move to my
mod_perl environment once it is working reliably, and restart my server.  In
my experience, that seems to be the most foolproof method.

Hope this helps,

------Scott.
lmpx.com only provides a reader for public news (NNTP) servers. It is not affiliated with the servers or forums shown here and is not responsible for the content of articles, which is written by their respective authors.