Beefy Boxes and Bandwidth Generously Provided by pair Networks
go ahead... be a heretic
 
PerlMonks  

Re^2: perlapi on Squeeze

by martinm (Novice)
on Mar 08, 2011 at 15:42 UTC ( [id://892033]=note: print w/replies, xml ) Need Help??


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!

Log In?
Username:
Password:

What's my password?
Create A New User
Domain Nodelet?
Node Status?
node history
Node Type: note [id://892033]
help
Chatterbox?
and the web crawler heard nothing...

How do I use this?Last hourOther CB clients
Other Users?
Others musing on the Monastery: (1)
As of 2024-04-24 13:59 GMT
Sections?
Information?
Find Nodes?
Leftovers?
    Voting Booth?

    No recent polls found