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
[email protected]
http://lists.template-toolkit.org/mailman/listinfo/templates

Reply via email to