Problem: We have a problem with the application Geocortex Essentials of Latitude. The product makes it possible to crerate GIS (Geographic Information System) viewers for the Intranet or Internet. The GIS viewer is a Silverlight application. The viewer configuration information is present at a Geocortex Essentials. The client browser should start with a simple URL, say: http://GISViewer-test.XXX.YYY.com . The combination Geocortex Essentials server and Silverlight client gives unexpected error. User enters a simple URL for a viewer. Via DNS this URL will be forwarded to a server. At this point the URL must be redirected / rewrited to a more complex URL. A configuration file is sent to client which will start a Silverlight viewer. Subsequent URL requests to the server fail.
Environment: Geocortex Essentials server (vs. ...) with IIS 7 on Windows 2008 R2, Silverlight viewer on Windows XP client
Change on environment: Geocortex Essentials server supports more than one viewer. All viewers shall be installed on one server (the so-called Essentials server). Other viewers should be started with URLs like http://AnotherGISViewer-test.XXX.YYY.com . All these URLs should be forwarded to the same server via DNS.
Prerequisite: Organisation doesn't want to make server name visible for users (security).A redirect looks not possible for this reason, but only a rewrite rule.
Proposed Solution 1 HTTP Redirect (IIS): This can't be used for more than one viewer. Making more than one website with each a separate redirect is also not possible. See the above requisite
Proposed Solution 2: IIS with extension ARR: This didn't solve problem yet because several type of URLs are requested by the client and no rules haven been found yet to cover all these different URLs.
To get an idea of the URL request sent by the client browser, see the list below (logged by Fiddler):
CACHE MANIFEST
# Generated: 7-2-2013 12:22:25
CACHE:
http://ServerA.XXX.YYY.com/clientaccesspolicy.xml
http://ServerA.XXX.YYY.com/Geocortex/Essentials/REST/sites/Geo_Viewer_DR/viewers/GEOViewer18/virtualdirectory/Config/Viewer.xml
http://ServerA.XXX.YYY.com/Geocortex/Essentials/REST/sites/Geo_Viewer_DR/viewers/GEOViewer18/virtualdirectory/Resources/Images/BackgroundLeft.png
http://ServerA.XXX.YYY.com/Geocortex/Essentials/REST/sites/Geo_Viewer_DR/viewers/GEOViewer18/virtualdirectory/Resources/Images/BackgroundRepeat.png
http://ServerA.XXX.YYY.com/Geocortex/Essentials/REST/sites/Geo_Viewer_DR?f=json&deep=True&v=3.0
http://ServerA.XXX.YYY.com/Geocortex/Essentials/REST/Templates/SilverlightViewer/VirtualDirectory/Viewer.Defaults.xml
http://ServerA/SilverlightViewer/ClientBin/Geocortex.EssentialsSilverlightViewer.CoreModules.xap
http://ServerA/SilverlightViewer/ClientBin/Geocortex.EssentialsSilverlightViewer.Viewer.xap
http://ServerA/SilverlightViewer/ClientBin/Resources/Images/ArrowNW.png
http://ServerA/SilverlightViewer/ClientBin/Resources/Images/DefaultResult.png
http://ServerA/SilverlightViewer/ClientBin/Resources/Images/Help24x24.png
http://ServerA/SilverlightViewer/ClientBin/Resources/Images/Layers.png
http://ServerA/SilverlightViewer/ClientBin/Resources/Images/LayersAdd.png
http://ServerA/SilverlightViewer/ClientBin/Resources/Images/Loader.png
http://ServerA/SilverlightViewer/ClientBin/Resources/Images/MarkupFreehand.png
http://ServerA/SilverlightViewer/ClientBin/Resources/Images/MeasureDistance.png
http://ServerA/SilverlightViewer/ClientBin/Resources/Images/Print.png
http://ServerA/SilverlightViewer/ClientBin/Resources/Images/Reports.png
http://ServerA/SilverlightViewer/ClientBin/Resources/Images/Search.png
http://ServerA/SilverlightViewer/ClientBin/Resources/Images/Share-Map.png
http://ServerA/SilverlightViewer/ClientBin/Resources/Images/SplashTitle.png
http://ServerA/SilverlightViewer/ClientBin/Resources/Images/Star32x32.png
http://ServerA/SilverlightViewer/ClientBin/Resources/Images/Tools.png
http://ServerA/SilverlightViewer/ClientBin/Resources/Images/ZoomInitial.png
http://ServerA/SilverlightViewer/ClientBin/SplashScreen.xaml
http://ServerA/SilverlightViewer/Config/Viewer.Defaults.xml
http://ServerA/SilverlightViewer/Config/Viewer.Settings.xml
http://ServerA/SilverlightViewer/Silverlight.js
http://ServerA/SilverlightViewer/SplashScreen.css
http://ServerA/SilverlightViewer/Viewer.html?ViewerConfig=http://ServerA.XXX.YYY.com/Geocortex/Essentials/REST/sites/Geo_Viewer_DR/viewers/GEOViewer18/virtualdirectory/Config/Viewer.xml
NETWORK:
*