[mapguide-users] Problem with the dwf viewer and a reverse proxy.

Nick Sebastyan nick_sebastyan at yahoo.com
Fri Dec 4 07:53:00 EST 2009


Thanks Gabriele, that worked perfectly. 




________________________________
From: Gabriele Monfardini <gabrimonfa at gmail.com>
To: MapGuide Users Mail List <mapguide-users at 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 at lists.osgeo.org
http://lists.osgeo.org/mailman/listinfo/mapguide-users



      
-------------- next part --------------
An HTML attachment was scrubbed...
URL: http://lists.osgeo.org/pipermail/mapguide-users/attachments/20091204/7d561834/attachment.html


More information about the mapguide-users mailing list