Lukas
Lukas

Reputation: 510

ESRI Resource-Proxy issue

I am working on a web application using the esri javascript api. To access cross domain resources I have to install the Resource-Proxy (https://github.com/Esri/resource-proxy). I tried to install the PHP version like described but the test call http://[yourmachine]/PHP/proxy.php?ping ended up with a blank screen and a 500 HTTP error code.

The proxy-verification.php shows that everything should work fine.

Any ideas?

Upvotes: 0

Views: 330

Answers (2)

Mathew Christy
Mathew Christy

Reputation: 26

try following in proxy.config

<ProxyConfig allowedReferers="*"
         mustMatch="false">
<serverUrls>
    <serverUrl url="http://path/"
               matchAll="true"
               username="username"
               password="password"
               />
</serverUrls> </ProxyConfig> 

Upvotes: 0

GavinR
GavinR

Reputation: 6244

Try setting mustMatch="false" in the proxy.config (just for testing)

Upvotes: 0

Related Questions