My newbie response is that each Apache process makes its own compiled copy of the script.

Say you have 5 apache processes. You load the page and see result X (handled by process #1).

You make a change. You load the page and see result Y. (this time, handled by process #2).

If process #2 has never loaded that script before, process #2 will compile the changed version and display that.

You make another change and this time #1 handles it, but instead of seeing result Z, you see result X.

-Matthew

Dani Pardo wrote:
Hi, I'm a little newbie, so please forgive me if the question is a bit lame.
 I've installed apache 2.0.58 with modperl 2.0.2 from source, and
when I change a script on disk, the results get automatically
reflected on the browser (I don't have to restart apache). I didn't
setup Apache2::reload or anything like that. Is that normal?

 My apache conf is something like this:

  <FilesMatch "\.pl$">
                       SetHandler perl-script
                       PerlHandler ModPerl::Registry
                       PerlResponseHandler ModPerl::Registry
                       Options +ExecCGI
                       PerlOptions -ParseHeaders
                       PerlSendHeader Off
 </FilesMatch>

Thanks!

Reply via email to