Denis,
You have two web-app instances running, one for /preview and another one
for /live?
If that's the case you can try to change the filter mapping from
/preview/* to /*
<filter-mapping>
<filter-name>previewRepository</filter-name>
<url-pattern>/*</url-pattern>
<!-- Only client requests but no forwards should be handled by
this filter -->
<dispatcher>REQUEST</dispatcher>
</filter-mapping>
I'm not really sure this also fixes the links in document contents but
there is a good chance it does :-)
Regards,
Mike Meijnhard
Amsterdam - Hippo B.V. Oosteinde 11 1017 WT Amsterdam +31(0)20-5224466
San Francisco - Hippo USA Inc. 101 H Street, suite Q Petaluma CA
94952-3329 +1 (707) 773-4646
www.onehippo.com [EMAIL PROTECTED]
-----Original Message-----
From: [EMAIL PROTECTED]
[mailto:[EMAIL PROTECTED] On Behalf Of Denis
Balog
Sent: woensdag 9 april 2008 16:10
To: Hippo CMS development public mailinglist
Subject: [HippoCMS-dev] JSP Toolkit (URL's)
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.htm
l
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