[mapguide-users] Problem with the dwf viewer and a reverse proxy.
Greetings all, Information's : I use mapguide open source 2.02. The mapguide server is behind a firewall and it is accessed from a proxy using apache server. Example: #mapguide ProxyPass /mapguide http://mapguideserver:8008/mapguide ProxyPassReverse /mapguide http://mapguideserver:8008/mapguide External access url : http://mapguideexternalalias/mapguide Problem : The dwf viewer does not display the map, it displays all the other frames correctly, i.e tbFrame, taskFrame and from the mapFrame only the Layers and Properties panes. The ajax viewer works perfectly. I have noticed in the logs of the apache server that the dwf viewer tries to access directly the server that is behind the firewall, http://mapguideserver:8008/mapguide, not the alias that is configured in the proxy, http://mapguideexternalalias/mapguide. This happens only one time when the dwf viewer tries to get the map. Request: Does anyone have a solution or a hint or something that my help ? Thanks. ___ mapguide-users mailing list mapguide-users@lists.osgeo.org http://lists.osgeo.org/mailman/listinfo/mapguide-users
Re: [mapguide-users] Problem with the dwf viewer and a reverse proxy.
Problem : The dwf viewer does not display the map, it displays all the other frames correctly, i.e tbFrame, taskFrame and from the mapFrame only the Layers and Properties panes. The ajax viewer works perfectly. I have noticed in the logs of the apache server that the dwf viewer tries to access directly the server that is behind the firewall, http://mapguideserver:8008/mapguide, not the alias that is configured in the proxy, http://mapguideexternalalias/mapguide. This happens only one time when the dwf viewer tries to get the map. Request: Does anyone have a solution or a hint or something that my help ? Thanks. We've had the same problem. Our solution was to modify two values inside mapguide-apache httpd.conf. ServerName should be your mapguideexternalalias (the URL of the apache that is configured to access mapguide via proxy) UseCanonicalName should be On In this way self-referencing URL will be constructed using ServerName Regards, Gabriele ___ mapguide-users mailing list mapguide-users@lists.osgeo.org http://lists.osgeo.org/mailman/listinfo/mapguide-users
Re: [mapguide-users] Problem with the dwf viewer and a reverse proxy.
Thanks Gabriele, that worked perfectly. From: Gabriele Monfardini gabrimo...@gmail.com To: MapGuide Users Mail List mapguide-users@lists.osgeo.org Sent: Fri, December 4, 2009 1:40:16 PM Subject: Re: [mapguide-users] Problem with the dwf viewer and a reverse proxy. Problem : The dwf viewer does not display the map, it displays all the other frames correctly, i.e tbFrame, taskFrame and from the mapFrame only the Layers and Properties panes. The ajax viewer works perfectly. I have noticed in the logs of the apache server that the dwf viewer tries to access directly the server that is behind the firewall, http://mapguideserver:8008/mapguide, not the alias that is configured in the proxy, http://mapguideexternalalias/mapguide. This happens only one time when the dwf viewer tries to get the map. Request: Does anyone have a solution or a hint or something that my help ? Thanks. We've had the same problem. Our solution was to modify two values inside mapguide-apache httpd.conf. ServerName should be your mapguideexternalalias (the URL of the apache that is configured to access mapguide via proxy) UseCanonicalName should be On In this way self-referencing URL will be constructed using ServerName Regards, Gabriele ___ mapguide-users mailing list mapguide-users@lists.osgeo.org http://lists.osgeo.org/mailman/listinfo/mapguide-users ___ mapguide-users mailing list mapguide-users@lists.osgeo.org http://lists.osgeo.org/mailman/listinfo/mapguide-users