[Templates] Beginner Question: A way around absolute paths?
Randal L. Schwartz
merlyn@stonehenge.com
16 Oct 2003 09:26:55 -0700
>>>>> "Kip" == Kip Lawrence <kip@jkcrafts.com> writes:
Kip> My site has thousands of Virtual Hosts with more being added every day.
Kip> Each host is going to have a completely different set of template files.
Kip> Each virtual host would need a different entry in the include path
Kip> (which I am setting in httpd.conf). Is there no way to just look for
Kip> include files in the directory the template file was run in?
Apache::Template is only one possible mod_perl handler for TT code.
You can use it as a model to write your own. Sounds like you'll need
to write your own. Per-virtual-host INCLUDE paths are certainly
possible.
--
Randal L. Schwartz - Stonehenge Consulting Services, Inc. - +1 503 777 0095
<merlyn@stonehenge.com> <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!