Hi all,
I still have CORS error when i try to add WMS layer from GeoServer. I followed this resources https://developers.arcgis.com/javascript/latest/proxies/, https://github.com/Esri/resource-proxy, but still can not get result.
So i used code like this:
urlUtils.addProxyRule({
urlPrefix: "http://nv1.reestri.gov.ge",
proxyUrl: "/proxy/java/proxy.php"
});
and get following results in console:
GET http://localhost/proxy/java/proxy.php?http://nv1.reestri.gov.ge/geoserver/wms?SERVICE=WMS&REQUEST=Ge...
under this i have this:
HTTP Error 404.0 - Not Found.
Next is:
Uncaught (in promise) Object { name: "request:server", details: {…}, message: "Unable to load http://localhost/proxy/java/proxy.php?http://nv1.reestri.gov.ge/geoserver/wms?SERVICE=WMS&REQUEST=Ge... status: 404" };
What can i do, or if it is possible to fix this?