Re: [Templates] A problem with document caching?
[prev]
[thread]
[next]
[Date index for 2004/09/20]
Tosh,
> This all works fine under a normal Apache CGI environment, but once the
> script is running under ModPerl::Registry, or even ModPerl::PerlRun I am
> not getting the correct files served.
IME, this is almost always caused by some code at the top of your .pm's.
Remember that such code is effectively in a BEGIN block, so it gets
called only once(*) (at server startup) under mod_perl, whereas it would
get called every time your CGI runs (since the CGI is recompiled every
time). I can't guess exactly where the problem is from the info you've
provided, but I'd be it's something to do with that.
Good luck.
-- Buddy
(*) Technically, once per server process, I believe, although that
rarely makes much practical difference.
_______________________________________________
templates mailing list
templates@xxxxxxxxxxxxxxxx.xxx
http://lists.template-toolkit.org/mailman/listinfo/templates
 |
 |
Re: [Templates] A problem with document caching?
Buddy Burden 17:16 on 20 Sep 2004
|