Geographic Information Systems Stack Exchange is a question and answer site for cartographers, geographers and GIS professionals. Join them; it only takes a minute:

Sign up
Here's how it works:
  1. Anybody can ask a question
  2. Anybody can answer
  3. The best answers are voted up and rise to the top

I know it's due to the new Access-Control-Allow-Origin in OL 2.12, but it is still not functional to me. I've followed instructions on here on stackoverflow.

Firefox version


Apache2 config

In /etc/apache2/sites-enabled/000-default I've set:

<Directory /home/fradeve/public_html/ark-oia/*>            
    Header set Access-Control-Allow-Origin *

OL OSM layer config

var osm_layer = new OpenLayers.Layer.OSM('OSM Layer', null, {
    transitionEffect: 'resize',
    tileOptions: {crossOriginKeyword: null},
    resolutions: [...],
    serverResolutions: [...]

But OSM layer is fine on Safari, Chromium 20.0.1132.47, but not in Firefox. What am I missing?

share|improve this question
Access Control Allow Origin doesnot restrict Image tiles. It may be firefox issue – neogeomat Jun 16 '14 at 11:48

Your Answer


By posting your answer, you agree to the privacy policy and terms of service.

Browse other questions tagged or ask your own question.