reverse proxy issues

325 views
Skip to first unread message

Josh Vader

unread,
Jul 26, 2013, 10:08:07 AM7/26/13
to wisemappi...@googlegroups.com
This is actually the same as the last 3 comments from the prior post on reverse proxy issues. I an using the latest version available as of 25 July 2013, and the reverse proxy loads the login page fine, but when I login it proceeds to the internal address instead of retaining the reverse proxy url.  I'm using the same proxy and proxy pass configuration as the prior poster. 

Thoughts?

Awesome product otherwise!

Josh Vader

unread,
Jul 26, 2013, 10:54:37 AM7/26/13
to wisemappi...@googlegroups.com
Actually I take that back - when it's passing through the reverse proxy, it's stripping out css and not losing pictures.  When this happened with drupal,  it was a baseurl setting but I didn't see that declaration in the init.jsp

Josh Vader

unread,
Aug 21, 2013, 9:06:38 PM8/21/13
to wisemappi...@googlegroups.com
ok .....
so still having the issue.  Though after enabling the Tomcat connector I am almost there, though it is now improperly rewriting the URL to the local, internal IP instead of obeying the given ProxyPassReverse parameter as set in my reverse proxy.  
btw my config : 
 192.168.0.2 <== Synology with Tomcat package.  The AJP connector was enabled (on port 8009) by default.  Installation was fairly easy - just copy the contents of the folder from the archive: 
\wisemapping-v3.0.1.GA\webapps\wisemapping\    ==>  over to your Synology Tomcat applications folder. Goto your Tomcat management and you should see Wisemapping listed - you should also be able to start it.

My Rev Proxy is 192.168.0.5 - config is :


     ProxyPass /wisemapping/ ajp://192.168.0.2:8009/wisemapping/
     ProxyPass / ajp://192.168.0.2:8009/wisemapping/
     ProxyPassReverse /wisemapping/ ajp://192.168.0.2:8009/wisemapping/


But, as stated, somthing is ignoring the ProxyPassReverse parameter, but only after logging in.  
I initially login to:  http://maps.mydomain.com  (which simply points to my router, which forwards p80 to my rev proxy)
As soon as I log in, the URL then changes to http://192.168.0.2:7070/wisemapping/c/maps/  

Does anybody have any input at all ?



On Friday, July 26, 2013 7:08:07 AM UTC-7, Josh Vader wrote:

Josh Vader

unread,
Aug 21, 2013, 10:54:51 PM8/21/13
to wisemappi...@googlegroups.com
Woot! I found where the BaseURL variable had been moved.  No longer is it located in the location mentioned here: https://groups.google.com/forum/#!msg/wisemapping-support/6dnOjTlGHjk/z8rv2ELKb9kJ

It is now located in the wisemapping-service.xml under the WEB-INF directory.  After setting the BaseURL (not in init.jsp, but in the afore mentioned XML) the Web App is atleast using the correct URL and as long as IE is not used, it appears to work!


On Friday, July 26, 2013 7:08:07 AM UTC-7, Josh Vader wrote:

uchi...@gmail.com

unread,
Mar 20, 2014, 8:42:51 AM3/20/14
to wisemappi...@googlegroups.com
Hi,
I installed wisemapping 3.0.2 on Plesk 11 with tomcat 6.
I set the reverse Proxy to set wisemapping as root of my domain in this way:

ProxyPass / http://mindmap.mydomain.com:9080/wisemapping/
ProxyPassReverse / http://mindmap.mydomain.com:9080/wisemapping/

With this setting it works but after login the url is always rewrited to http://mindmap.mydomain.com:9080/wisemapping/

So I changed the baseUrl in the app.properties in this way:
site.baseurl = http://mindmap.mydomain.com/

After that I can see the welcome page but it doesn't work any more. I cannot make neither login nor forget password. I receive a 404 error from tomcat saying: /wisemapping/wisemapping/...
It seems that /wisemapping/wisemapping/ is appending to each url.

How can I solve it?


Reply all
Reply to author
Forward
0 new messages