You really have a Unix path of /special_dir? That's
the filepath there, not the URL path.
Well, no -- I made /special_dir up for posting purposes.
(I figured it was cleaner than
/var/www/html/polpsych/bp_candidate.)
But I did intend to indicate a filepath rather than a URL
path. I'd like to make filepath-by-filepath exceptions
to the TT2PreProcess directive.
Thanks,
--John
----- Original Message -----
From: "Randal L. Schwartz" <[email protected]>
To: "John Bullock" <[EMAIL PROTECTED]>
Cc: <[email protected]>
Sent: Tuesday, September 20, 2005 9:41 AM
Subject: Re: [Templates] Apache::Template: overriding
TT2PreProcess for specific directories
"John" == John Bullock <[EMAIL PROTECTED]>
writes:
John> I thought I should be able to do this by
specifying
John> something like
John> <Directory /special_dir>
John> TT2PreProcess SPECIAL_HEADER
John> </Directory>
John> or
John> <Directory /special_dir>
John> AllowOverride
John> </Directory>
John> after the <Files *.tt2> section of httpd.conf.
(In the
John> latter case, I added an .htaccess file to
/special_dir
John> specifying "TT2PreProcess SPECIAL_HEADER".)
John> Neither approach worked.
You really have a Unix path of /special_dir? That's
the filepath there, not the URL path.
--
Randal L. Schwartz - Stonehenge Consulting Services,
Inc. - +1 503 777 0095
<[email protected]>
<URL:http://www.stonehenge.com/merlyn/>
Perl/Unix/security consulting, Technical writing,
Comedy, etc. etc.
See PerlTraining.Stonehenge.com for onsite and
open-enrollment Perl training!
_______________________________________________
templates mailing list
[email protected]
http://lists.template-toolkit.org/mailman/listinfo/templates