AnsweredAssumed Answered

Proxy doesn't get a token

Question asked by BBS-Planung on Nov 10, 2014
Latest reply on Nov 10, 2014 by BBS-Planung

Hi,

 

I set up the php Proxy from Esri/resource-proxy · GitHub . The Proxy works for unsecured service. Whe I try to access my secured service I always get

 

ArcGIS REST Services Directory 

 

 

  Token Required

 

My configuration file is set up correctly for testing:

 

<?xml version="1.0" encoding="utf-8" ?>

<ProxyConfig allowedReferers="*"

             logFile="proxy_log.log"

             mustMatch="true">

    <serverUrls>

        <serverUrl url="http://services2.arcgis.com"

                matchAll="true"

        username="####"

        password="####"/>

 

    </serverUrls>

</ProxyConfig>

 

<!-- See https://github.com/Esri/resource-proxy for more information -->

 

When I look into the logfile I find this:

11-10-14 15:27:26 | GET detected

11-10-14 15:27:27 | Ok to proxy

11-10-14 15:27:27 | Proxy complete

 

When I compare my logfile to others in this forums, it seems like my proxy doens't authenticate and doesn't get and appending a token to the request.

 

 

Anyone knows this problem and could offer me a solution?

 

Thanks,

Mark

Outcomes