in reply to mod_perl and template toolkit
In short, TMTOWTDI :-)
If you decide to create pages using a mod_perl handler, YOU decide on what basis you select the page that you return. It might be based on the "path" part of the url, or on the arguments supplied (i.e. http://host/some/stuff?page=somepage ) Or on the IP address of the user, or the user-agent string (but you really shouln't do THAT).
Anyway, you might want to take a look at This section of the Template Toolkit manual. It includes a section on serving templates via mod_perl, using the requested URL to determine the template file.
-- Joost
|
|---|