in reply to Re: perlapi on Squeeze
in thread perlapi on Squeeze

That does the trick, Ta.

Or at least it installs -

But in apache2/http.conf none of the TT2 options are recognised, implying that TT2 isn't recognised.

I know it's probably off-topic now, but any idea why?
<IfModule mod_perl.c> PerlModule Apache::Template # set various configuration options, e.g. TT2Trim On TT2PostChomp On TT2EvalPerl On TT2IncludePath /avbase/include/tt2/ </IfModule>

Replies are listed 'Best First'.
Re^3: perlapi on Squeeze
by Corion (Patriarch) on Mar 08, 2011 at 15:48 UTC

    So, what is the error message you get when you restart Apache (or try to access the Location)?

    Is Apache::Template installed (that is, likely, libapache-template-perl)?

      OK, got a bit further. The same TT2 section was in httpd.conf and apache2.conf. Now only in apache2.conf and starts OK. If I misspell one of the TT2 lines it fails, so def. being called.

      Apache log now shows
      [error] file error - header.tt2: not found /var/www/html/index.tt2

      /var/www/html/index.tt2 contains
      [% INCLUDE header.tt2 %]
      Presumably that means header.tt2 which does exist in  TT2IncludePath /avbase/include/tt2/
      can't be found. Why I can't explain!