<?xml version="1.0" encoding="windows-1252"?>
<node id="243167" title="Re: Re: Problems Setting Up Apache::Template" created="2003-03-14 15:17:19" updated="2005-07-13 10:07:16">
<type id="11">
note</type>
<author id="120013">
ignatz</author>
<data>
<field name="doctext">
I swear to you that I tried it with the debug flag off and it did the same thing. Really. I did... Nevertheless, just to humor you I tried it again. Just to be extra doubly  sure I cleared the cache and &lt;b&gt;TADA!&lt;/b&gt; it's fixed.
&lt;p&gt;
[perrin]++
&lt;p&gt;
For a little closure, here's the updated httpd.conf section:
&lt;code&gt;
PerlModule Apache::Template

TT2EvalPerl     On
TT2LoadPerl     On
TT2Recursion    On
TT2Debug        Off
TT2Headers      all
TT2Params       all
TT2Trim         On

TT2CacheSize    64
TT2CompileDir   /tmp/tt2
TT2CompileExt   .ttc
TT2IncludePath  /usr/local/www/inc/tt2

&lt;Files *.tt2&gt;
    SetHandler      perl-script
    PerlHandler     Apache::Template
&lt;/Files&gt;

Alias /tt2 "/usr/local/www/inc/tt2"
&lt;Location "/tt2"&gt;
    SetHandler      perl-script
    PerlHandler     Apache::Template
&lt;/Location&gt;
&lt;/code&gt;
&lt;b&gt;MORAL:&lt;/b&gt; One must crawl before one can walk, even with config files.
&lt;pre style="font-family: terminal, courier, courier new, monospaced;"&gt;
()-()
 \"/
  `
&lt;/pre&gt;</field>
<field name="root_node">
243160</field>
<field name="parent_node">
243164</field>
</data>
</node>
