Hello,

       I have a peculiar problem with Apache and
Apache::Template.  The following is in my httpd.conf and
does what it should:

       PerlModule Apache::Template
       <Files *.tt2>
          SetHandler      perl-script
          PerlHandler     Apache::Template
       </Files>


But if I try to add a directive, as in this case --
       PerlModule Apache::Template
       TT2IncludePath /var/www/tt2
       <Files *.tt2>
          SetHandler      perl-script
          PerlHandler     Apache::Template
       </Files>

-- I get an error message when I attempt to restart
Apache.  "Invalid command 'TT2IncludePath', perhaps
mis-spelled or defined by a module not included in the
server configuration."

This problem was mentioned before on the list
(http://www.mail-archive.com/[email protected]/msg03920.html),
but it went away when the poster put "PerlModule
Apache::Template" directly into httpd.conf.  I did that,
and I still get the error message.

What could account for the error?  I'm running Apache
2.0.51, mod_perl 2.0.1 (with Geoffrey Young's port of
Apache::Template), and Fedora Core 1.

Many thanks,
--John



_______________________________________________
templates mailing list
[email protected]
http://lists.template-toolkit.org/mailman/listinfo/templates

Reply via email to