Hi Denis, why not use Apache http with mod_rewrite to do this for you? That way you can keep your application simple and you can fix this on a higher level.
Regards, Jeroen On Wed, 2008-04-09 at 16:10 +0200, Denis Balog wrote: > Hi, > > I have one small problem, > > Mike solved my problem with baseurl in JSP > > BUT > > I'm having problem with links. > > this is example link > > http://localhost:8080/newsite-1.6/preview/content/mysite/thema/thema.html > > document in repository is at > > /content/mysite/thema/thema.xml > > (in this example in files/default.preview) > > I NEED links to be like this > > http://localhost:8080/newsite-1.6/thema/thema.html > > (As you can see NO /preview/content/mysite) > > and document to be in the same place in repository > > /content/mysite/thema/thema.xml > > can I do than in web.xml with filters > How will WebdavRepositoryFilter know it needs to add /content/mysite to URI) > > I don't need /preview and /live i will have on port 80 live version > and on 8080 preview version so i will have two instances with > different > configurationFile > > Is this possible? > > Thanks in advance, > > Denis Balog. > ******************************************** > Hippocms-dev: Hippo CMS development public mailinglist ******************************************** Hippocms-dev: Hippo CMS development public mailinglist
