2

Add a specific header to the http response of Geoserver, to allow cross domains request and avoid XMLHttpRequest On Load error.

2

This is not the accepted way to solve this problem. As answered in another question of yours the correct method is to create a proxy script or similar functionality in your web application.

For some of the Geoserver responses it may be possible to configure it around this by ensuring the responses are in GeoJSON format ect but you would severely limit the functionality provided by Geoserver.

Your Answer

By clicking “Post Your Answer”, you agree to our terms of service, privacy policy and cookie policy

Not the answer you're looking for? Browse other questions tagged or ask your own question.