I am setting up Tomcat 4.0 standalone with Turbine 2.1, or rather playing around with the setup of TDK. I am rather new to jakarta, so please bear with me :).
In the one of the docs, it says the "standard" url is of the form http://<host>/<context>/servlet/<mapping>/template/Foo.vm and it talks how to change that to /ps/s/la/template/Foo.vm. Since I only have one "application" I was wondering though if it is possible to setup the following : /template/*.vm -> /myapp/servlet/turbine/template/*.vm /download -> /myapp/servlet/download or better yet *.vm -> /myapp/servlet/turbine/template/*.vm /download -> /myapp/servlet/download In know that in server.xml, I need to have a context with path="" and docBase="/myapp". But after that I'm not quite sure. In the "old" days I would use apache to rewrite links to achieve the above. Of course, the problem then is that the templates have to know how to generate a link in the right format. If apache does the rewriting, the template cannot automatically figure out the link. It seems with the WAR's and Turbine this isn't a problem anymore. I guess something do to with the DynamicURI class. Thanks, Paul --------------------------------------------------------------------- To unsubscribe, e-mail: [EMAIL PROTECTED] For additional commands, e-mail: [EMAIL PROTECTED]
