I have web client on Apache and WFS service on Geoserver, both on same computer!Web client is (Apache) running on port 89, and Geoserver is running on 8181 port!I do following settings in Apache config file:
Order Deny,Allow Deny from all Allow from `localhost ProxyPass /geoserver http://localhost:8181/geoserver/web ProxyPassReverse /geoserver http://localhost:8181/geoserver/web` Order allow,deny Allow from allWhen I try to run client page I am getting error:
XMLHttpRequest cannot load http://localhost:8181/geoserver/wfs. No 'Access-Control-Allow-Origin' header is present on the requested resource. Origin 'http://localhost:89' is therefore not allowed access.
Are there any settings that I need to do in Geoserver to enable this?
أكثر...
Order Deny,Allow Deny from all Allow from `localhost ProxyPass /geoserver http://localhost:8181/geoserver/web ProxyPassReverse /geoserver http://localhost:8181/geoserver/web` Order allow,deny Allow from allWhen I try to run client page I am getting error:
XMLHttpRequest cannot load http://localhost:8181/geoserver/wfs. No 'Access-Control-Allow-Origin' header is present on the requested resource. Origin 'http://localhost:89' is therefore not allowed access.
Are there any settings that I need to do in Geoserver to enable this?
أكثر...