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:
<Proxy *> Order Deny,Allow Deny from all Allow from `localhost </Proxy> ProxyPass /geoserver http://localhost:8181/geoserver/web ProxyPassReverse /geoserver http://localhost:8181/geoserver/web` <Location /geoserver> Order allow,deny Allow from all </Location>
When 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?