D. H�hn wrote: > Dear Mister Geoff. > > Please excuse me for contacting you directly but I thought you might be > the one to ask since you provided this excellent patch. > > I installed your Apache::Template from this URL: > http://www.modperlcookbook.org/~geoff/modules/experimental/Apache-Template-2.00_01.tar.gz > > > I also made sure to install the devel version of Apache::Request at > version number libapreq2-2.02-dev > > This all went well and all the modules installed properly after running > their tests.
excellent. > > The perl-status handler shows Apache::Template as loaded as well as > Apache::Request. However none of the TT2 configuration directives are > accepted. I see something like this when starting apache2: > > Syntax error on line 16 of /opt/apache/conf/perl.conf: > Invalid command 'TT2Relative', perhaps mis-spelled or defined by a > module not included in the server configuration sorry about that. while I ported the module code over, I didn't look at the docs, at least one line of which now needs an update. > PerlModule Apache::Template this should now be PerlLoadModule Apache::Template > The startup.pl has: > use Apache::Template; I'm not sure how valid that is with PerlLoadModule if startup.pl is loaded before the PerlLoadModule statement - it will most likely be ok, but if it doesn't work with the one change noted above, try making sure that PerlLoadModule comes before you load your startup.pl, or remove the startup.pl entry. > I guess that I am using the wrong directives syntax for a Apache2, yet I > am no perl guru yet and preparing this system for use. If you have any > tips or pointers for me, I would be grateful, because google did not > yield anything usable. Thank you. nope, it's my fault for not looking over the docs :) I'll update the package with the doc change so others won't run into the same issue. I hope it works out for you, and thanks for giving it a whirl. --Geoff _______________________________________________ templates mailing list [EMAIL PROTECTED] http://lists.template-toolkit.org/mailman/listinfo/templates
