Re: [Templates] [ANNOUNCE] Apache::Template 0.09 ported to mod_perl 2.0

[prev] [thread] [next] [Date index for 2004/12/29]

From: Perrin Harkins
Subject: Re: [Templates] [ANNOUNCE] Apache::Template 0.09 ported to mod_perl 2.0
Date: 17:57 on 29 Dec 2004
Octavian Rasnita said:
> But let's say I have a directory structure like the following, with same
> .tt
> templates in each directory:
>
> classic
>     index.tt
>     header.tt
>     footer.tt
>     etc.tt
>
> modern
>     index.tt
>     header.tt
>     footer.tt
>     etc.tt
>
> ...and I want to call a template like this:
>
> http://www.site.com/classic/etc.tt
> or
> http://www.site.com/modern/etc.tt
>
> Can I do these mappings with Apache::Template?

I don't see why not.  It's a direct mapping of URI to file.  However, I
don't use Apache::Template at all, so you may want to get the advice of
someone else.

- Perrin


_______________________________________________
templates mailing list
templates@xxxxxxxxxxxxxxxx.xxx
http://lists.template-toolkit.org/mailman/listinfo/templates

Re: [Templates] [ANNOUNCE] Apache::Template 0.09 ported to mod_perl 2.0
Perrin Harkins 17:57 on 29 Dec 2004

Generated at 08:55 on 15 Mar 2005 by mariachi v0.52