Jon, I am using templating, my understanding is that Turbine looks up the corresponding layout vm from the screen vm filename. Please let me know if I am wrong... Would the templating mechanism work in this case with subdirectories? E.g. screens/lang1/some_dir/index.vm gets the layout from layout/lang1/some_dir/index.vm? You mentioned mod_webapp and mod_jk, which is a better solution? What are the advantages / disadvantages for both of them? Lastly, would you point me to some HOWTO style documents which would help me out? btw, I find two of the settings in config file Turbine.properties a bit confusing me... template.homepage/Index.vm template.login=/Login.vm So when a new request comes in from a client (not logged-in), which one gets loaded first? My understanding is that template.homepage will be loaded first, and in the case of the sample app comes with Turbine, because the screen Index.class extends SecureScreens.class which does user authentication, it throws the user back to template.login, as the user has not logged-in. Correct me if I am wrong, I spent so much time on the docs and am still not 100% certain about the mechanism. Thanks a bunch Sincerely, Kenny --- Jon Stevens <[EMAIL PROTECTED]> wrote: > on 6/17/01 4:02 PM, "a a" <[EMAIL PROTECTED]> > wrote: > > > Hi all, > > > > Please bare with me if I am asking a naive > question, > > afterall, my Turbine experience only started a few > > weeks ago.. Here is what I would like to > acomplish, > > please shred some light on me: > > > > there will be many different versions of the pages > > (e.g. different languages), ie, different screens > + > > layout pairs. > > > > lang1.mysite.com/* -> screen/lang1/* > > (which eventually assembles the page with > > layout/lang1/*) > > > > lang2.mysite.com/* -> screen/lang2/* > > (which eventually assembles the page with > > layout/lang2/*) > > You aren't using a template solution? > > > I would like the user see the "lang1.mysite.com/*" > > URLs only, instead of the ~/myapp/servlet/myapp > path. > > Mod_rewrite will accomplish that. > > > Do I need to use Apache + Turbine (ie, Catalina) > or I > > can accomplish this by Turbine only? > > Apache HTTPd on the front (with mod_rewrite enabled) > brokers requests for > Catalina or Tomcat which is plugged in through > mod_webapp or mod_jk... > > > Anything to do with mod_rewrite? > > Yes. > > -jon > > -- > "Open source is not available to commercial > companies." > -Steve Ballmer, CEO Microsoft > <http://www.suntimes.com/output/tech/cst-fin-micro01.html> > > > --------------------------------------------------------------------- > To unsubscribe, e-mail: > [EMAIL PROTECTED] > For additional commands, e-mail: > [EMAIL PROTECTED] > __________________________________________________ Do You Yahoo!? Get personalized email addresses from Yahoo! Mail - only $35 a year! http://personal.mail.yahoo.com/ --------------------------------------------------------------------- To unsubscribe, e-mail: [EMAIL PROTECTED] For additional commands, e-mail: [EMAIL PROTECTED]
