> I have no experience of ModPerl::PerlRun.

  How then are you running ModPerl? My apache conf contains this which activates
mod_perl for a specific directory on our web server:

<Directory /home/me/public_html/pages/sc2/>
   Options +ExecCGI
   <FilesMatch "\.cgi$">
      SetHandler perl-script
      PerlResponseHandler ModPerl::PerlRun
      PerlOptions +ParseHeaders
   </FilesMatch>
</Directory>

> Make sure it is not you browser that is caching the page as a first off.

   I've disabled cache on the browsers and tried different browsers on different
OSes. Same 'caching' behavior from the template module.

> How does ModPerl::PerlRun work?

   I don't even begin to pretend to know anything about mod_perl, but from the
docs "ModPerl::PerlRun - Run unaltered CGI scripts under mod_perl". If you use
ModPerl::Registry, the docs say quite outright that your script gets compiled
and stored in memory.  We discovered this during our first attempts at modperl.
Using Registry, our main CGI results would get cached using our own template
model. So we switched to PerlRun and the caching stopped.

   Now I'm trying to use a template and the caching is back even though nothing
else has changed in our setup.

   It was my understanding that mod_perl does nothing for you unless you
'activate' it for a directory/vhost like I did above.

> Also, you should see if you can get a full blown mod_perl server running.

Here is our server:

Server version: Apache/2.0.55
Server built:   Oct 23 2005 13:44:20
Compiled in modules:
  core.c
  mod_perl.c
  prefork.c
  http_core.c
  mod_so.c

Is that full-blown enough?

Thanks,
Matthew


-------------------------------------------------------
This SF.Net email is sponsored by xPML, a groundbreaking scripting language
that extends applications into web and mobile media. Attend the live webcast
and join the prime developer group breaking into this new coding territory!
http://sel.as-us.falkag.net/sel?cmd=lnk&kid=110944&bid=241720&dat=121642
_______________________________________________
Html-template-users mailing list
Html-template-users@lists.sourceforge.net
https://lists.sourceforge.net/lists/listinfo/html-template-users

Reply via email to