incubator-jspwiki-user mailing list archives

Site index · List index
Message view « Date » · « Thread »
Top « Date » · « Thread »
From Poglitsch Hans Peter <hans-peter.poglit...@stmk.gv.at>
Subject Access JSPWiki from multiple hosts
Date Thu, 24 Jan 2013 10:01:28 GMT
Hi All,

I would like to access one Tomcat-deployment of JSPWiki from different (Apache-)hosts, but
it seems I need some help on that.
I'm using JSPWiki 2.8.4 right now.
My problem starts with the jspwiki.baseURL  setting in jspwiki.properties.

Say, my jspwiki.baseURL=http://host1.domain1/wiki/   which would be one of the Apache hostnames.
When I access the Wiki through the second host (e.g. http://host2.domain2/wiki/) I will on
some actions (saving user preferences, uploading attachments) be redirected to host1.

Is there any way I can get the wiki to always generate relative URLs  or at least use the
current hostname (the one it's getting accessed from) when generating absolute URLs?  jspwiki.referenceStyle=relative
does not seem to work for all the generated URLs.

Thanks
Hans Peter


Mime
View raw message