<html><head><style type="text/css"><!-- DIV {margin:0px;} --></style></head><body><div style="font-family:times new roman, new york, times, serif;font-size:12pt"><DIV>Thanks Gabriele, that worked perfectly. <BR></DIV>
<DIV style="FONT-FAMILY: times new roman, new york, times, serif; FONT-SIZE: 12pt"><BR>
<DIV style="FONT-FAMILY: arial, helvetica, sans-serif; FONT-SIZE: 13px"><FONT size=2 face=Tahoma>
<HR SIZE=1>
<B><SPAN style="FONT-WEIGHT: bold">From:</SPAN></B> Gabriele Monfardini <gabrimonfa@gmail.com><BR><B><SPAN style="FONT-WEIGHT: bold">To:</SPAN></B> MapGuide Users Mail List <mapguide-users@lists.osgeo.org><BR><B><SPAN style="FONT-WEIGHT: bold">Sent:</SPAN></B> Fri, December 4, 2009 1:40:16 PM<BR><B><SPAN style="FONT-WEIGHT: bold">Subject:</SPAN></B> Re: [mapguide-users] Problem with the dwf viewer and a reverse proxy.<BR></FONT><BR>> Problem :<BR>> The dwf viewer does not display the map, it displays all the other<BR>> frames correctly, i.e tbFrame, taskFrame and from the mapFrame only<BR>> the Layers and Properties panes. The ajax viewer works<BR>> perfectly.<BR>> I have noticed in the logs of the apache server that the dwf viewer<BR>> tries to access directly the server
that is behind the<BR>> firewall, http://mapguideserver:8008/mapguide,<BR>> not the alias that is configured in the proxy,<BR>> http://mapguideexternalalias/mapguide.<BR>> This happens only one time when the dwf viewer tries to get the map.<BR>><BR>> Request:<BR>> Does anyone have a solution or a hint or something that my help ?<BR>> Thanks.<BR>><BR><BR>We've had the same problem.<BR><BR>Our solution was to modify two values inside mapguide-apache httpd.conf.<BR><BR>ServerName should be your "mapguideexternalalias" (the URL of the<BR>apache that is configured to access mapguide via proxy)<BR>UseCanonicalName should be On<BR><BR>In this way self-referencing URL will be constructed using
ServerName<BR><BR>Regards,<BR><BR>Gabriele<BR>_______________________________________________<BR>mapguide-users mailing list<BR><A href="mailto:mapguide-users@lists.osgeo.org" ymailto="mailto:mapguide-users@lists.osgeo.org">mapguide-users@lists.osgeo.org</A><BR>http://lists.osgeo.org/mailman/listinfo/mapguide-users<BR></DIV></DIV><!-- cg13.c1.mail.mud.yahoo.com compressed/chunked Thu Dec 3 02:44:24 PST 2009 --></div><br>
</body></html>