Hi all,
Again, i am about CORS issue.
I sue IIS for my web map.
So, in my map i sue wms service from another server, that's why i get CORS issue. When i use CORS extension on chrome, i can use this service without problem.
I looked around in google, in stack, but could not find decision of this.
In web.config i have added:
<?xml version="1.0" encoding="utf-8"?>
<configuration>
<system.webServer>
<httpProtocol allowKeepAlive="false">
<customHeaders>
<clear />
<add name="Access-Control-Allow-Origin" value="*" />
<add name="Access-Control-Allow-Methods" value="GET, PUT, POST, DELETE, HEAD, OPTIONS" />
<add name="Access-Control-Allow-Headers" value="*" />
</customHeaders>
</httpProtocol>
</system.webServer>
</configuration>
but no result, still Access-Control-Allow-Origin' header contains multiple values.
My map is in Default web Site folder.
I used proxy, but it did not help.
Any ideas how it could be fixed?