Solved! Go to Solution.
<?xml version="1.0" encoding="utf-8" ?><ProxyConfig allowedReferers="*" mustMatch="false"> <serverUrls> <serverUrl url="http://servername/ArcGIS/rest/services" username="username" password="password" /> </serverUrls> </ProxyConfig>
<?xml version="1.0" encoding="utf-8" ?> <ProxyConfig allowedReferers="http://applicationRootURL/" mustMatch="true">
<?xml version="1.0" encoding="utf-8" ?> <ProxyConfig allowedReferers="http://servername/" mustMatch="false"> <serverUrls> <serverUrl url="http://servername/arcgis/rest/services/test/emap2/MapServer" username="webmap" password="password" matchAll="true"/> </serverUrls>
<serverUrl url="http://servername/ArcGIS/rest" username="username" password="password", matchAll= "true" />