Silverlight access without IIS Web Adaptor

2117
1
05-23-2013 05:16 AM
MaryEllen_Perko
Occasional Contributor II
Hello.  I hope this is the correct forum for this question...

We are installing Server 10.1 on a new server stack.  We have a Silverlight application that needs access to our 10.1 services.  I know that we need to put a clientaccesspolicy.xml somewhere to allow/control access to the services.  However, we are not using the IIS Web Adapter, but instead using a reverse proxy.  During the installation, we know a file is automatically installed into \ArcGIS\Server\framework\runtime\tomcat\contexts\rootapp.  However, Esri's help says that the file in that folder should not be modified; instead we should place a copy of the file elsewhere to control access.  (Plus, the default file is not working anyway, but may be another issue.)

Can anyone tell me where we should put the file when we are not using the IIS Web Adaptor?

Thanks.
0 Kudos
1 Reply
StephanieSnider
Occasional Contributor III
The crossdomain and clientaccesspolicy files should reside in the root of the web server directory.  For IIS, the default location for this directory is C:\inetpub\wwwroot.

However.....If you are not using the web adaptor, then your map services are being consumed directly from the GIS Server which uses Tomcat.  I have updated these files in the Tomcat root directory and not had a problem with it.  It is always a good idea to make a copy of the original file before you modify it, but I would make access restrictions on the files in the Tomcat root.  ESRI has provided these files with generic policy access and wildcards.  Its hard to believe that they would tell you not to modify these files.  If you do mess them up, here's a copy of the original files.

Client Access Policy  http://server.arcgisonline.com/clientaccesspolicy.xml
Cross Domain  http://server.arcgisonline.com/crossdomain.xml
0 Kudos