It is also possible to use
http://tuckey.org/urlrewrite/
to rewrite URLs coming in to your webapp, just the same as you can rewrite apache rules. We have not yet deployed this to production, but the next release of tribe.net will use this package to do some rudimentary rewriting. We are working with it now and it seems reliable so far...
-Brian
On Aug 29, 2004, at 9:54 PM, Vjeran Marcinko wrote:
Hi.
It seems to me that Turbine's URLs are not exactly friendly for J2EE
declarative security, or also for any kind of URL path mappings, since these
mappings usually require URLs that have folder structure ?
For eg., I have admin and user pages/actions in my Turbine web app :
http://server:8080/myapp/app/template/admin,Index.vm
http://server:8080/myapp/app/action/admin.SomeAction
and
http://server:8080/myapp/app/template/user,Index.vm
http://server:8080/myapp/app/action/user.SomeAction
And not to mention how can URLs look like when you combine both actions and
pages in URL.
And I want to separate this 2 logical pieces (admin and user) of my web app
by some maping. Usually all URL mapping (for setting Apache virtual hosts
let's say) basically need URLs like:
http://server:8080/myapp/app/admin/...all admin stuff
http://server:8080/myapp/app/user/...all user stuff
Has anybody resolved this problem somehow ?
Cheers, Vjeran
--------------------------------------------------------------------- To unsubscribe, e-mail: [EMAIL PROTECTED] For additional commands, e-mail: [EMAIL PROTECTED]
--------------------------------------------------------------------- To unsubscribe, e-mail: [EMAIL PROTECTED] For additional commands, e-mail: [EMAIL PROTECTED]
