I'm running Wisemapping behind Apache reverse proxy. It's mostly clear setup but static content (css and javascript) paths (including bootstrap) are broken. Any known convenient (like setting baseuri property) way to resolve this?
There seems to be some issue with this type of configuration. The problem is that the base url for the JSP pages are not being resolved properly. The fix will be available in the next release and consists of an extra configuration parameter in the app.properties.
In the short term, edit the webapp/wisemapping/jsp/init.jsp page and change the line:
<c:set var="baseURL" value="${fn:replace(pageContext.request.requestURL, pageContext.request.requestURI, pageContext.request.contextPath)}" />
to
<c:set var="baseURL" value="<put here you proxy url>" />
Let me know if this works.
Paulo
I took a closer look at the jsp-files after posting my question and found out this baseURL variable initiation line (and the problem around it) and I actually did exactly the same thing you suggested and it solved the problem!
Thanks!
To view this discussion on the web visit https://groups.google.com/d/msg/wisemapping-support/-/7BiNv7vlvpEJ.
--
You received this message because you are subscribed to the Google Groups "wisemapping-support" group.
To post to this group, send email to wisemappi...@googlegroups.com.
To unsubscribe from this group, send email to wisemapping-sup...@googlegroups.com.