Bookmarks

Yahoo Gmail Google Facebook Delicious Twitter Reddit Stumpleupon Myspace Digg

Search queries

/proc/kallsyms format, sqldatasource dal, wwwxxxenden, convert raid5 to raid 10 mdadm, apache force chunked, nrao wwwxxx, xxxxxdup, procmail change subject header, wwwXxx not20, Wwwxxx.doks sas

Links

XODOX
Impressum

#1: about ModPerl::Registry

Posted on 2011-09-16 06:12:44 by jeffpang

SGVsbG8sCgpXaGVuIG15IENHSSBzY3JpcHRzIGFyZSBtb3ZlZCB0byBydW4g dW5kZXIgTW9kUGVy
bDo6UmVnaXN0cnksIGFuZCB3aGVuIHRoZSBzY3JpcHQgaXMgY2hhbmdlZCwg c2hvdWxkIEkgcmVz
dGFydCBBcGFjaGUgZWFjaCB0aW1lPwpJIHdhcyB0aGlua2luZyBNb2RQZXJs OjpSZWdpc3RyeSAg
aXMgcnVubmluZyB0aGUgc2ltaWxpYXIgd2F5IGxpa2UgUEhQLCBidXQgd2hl biBwaHAgc2NyaXB0
IGlzIG1vZGlmaWVkIGl0IGRvZXNuJ3QgbmVlZCB0byByZXN0YXJ0IHRoZSB3 ZWJzZXJ2ZXIuCgpU
aGFua3MuCgoKLS0KICBKZWZmIFBhbmcKICBqZWZmcGFuZ0BtYWlsLnJ1Cg==

Report this message

#2: Re: about ModPerl::Registry

Posted on 2011-09-17 05:33:29 by Scott Gifford

--20cf307760a38f355904ad1ac820
Content-Type: text/plain; charset=KOI8-R

On Fri, Sep 16, 2011 at 12:12 AM, Jeff Pang <jeffpang@mail.ru> 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.

--20cf307760a38f355904ad1ac820
Content-Type: text/html; charset=KOI8-R
Content-Transfer-Encoding: quoted-printable

On Fri, Sep 16, 2011 at 12:12 AM, Jeff Pang <span dir=3D"ltr">&lt;<a href=
=3D"mailto:jeffpang@mail.ru">jeffpang@mail.ru</a>&gt;</span> wrote:<br><div=
class=3D"gmail_quote"><blockquote class=3D"gmail_quote" style=3D"margin:0 =
0 0 .8ex;border-left:1px #ccc solid;padding-left:1ex;">

Hello,<br>
<br>
When my CGI scripts are moved to run under ModPerl::Registry, and when the =
script is changed, should I restart Apache each time?<br></blockquote><div>=
<br></div><div>Hi Jeff,</div><div><br></div><div>In general you do, but loo=
k at modules like=9A<a href=3D"http://perl.apache.org/docs/2.0/api/Apache2/=
Reload.html">Apache2::Reload</a>=9Afor ways to detect changed files then au=
tomatically reload the appropriate modules.</div>

<div><br></div><div>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. =9AIn my experience, that seems to be the most foolproo=
f method.</div>

<div>=9A</div><div>Hope this helps,</div><div><br></div><div>------Scott.</=
div><div><br></div></div>

--20cf307760a38f355904ad1ac820--

Report this message

#3: Re: about ModPerl::Registry

Posted on 2011-09-17 19:56:36 by Perrin Harkins

2011/9/16 Scott Gifford <sgifford@suspectclass.com>:
> On Fri, Sep 16, 2011 at 12:12 AM, Jeff Pang <jeffpang@mail.ru> wrote:
>>
>> Hello,
>>
>> When my CGI scripts are moved to run under ModPerl::Registry, and when t=
he
>> script is changed, should I restart Apache each time?
>
> Hi Jeff,
> In general you do, but look at modules like=A0Apache2::Reload=A0for ways =
to
> detect changed files then automatically reload the appropriate modules.

This is true for modules, but for scripts running under Registry, it
should not be necessary. They are recompiled when the file changes.

- Perrin

Report this message