Exactly as described here, I add this thing to httpd.conf:
<IfModule mod_headers.c>
Header add Access-Control-Allow-Origin "*"
</IfModule>
As it is described in w3.org, I tried all places: <Directory>
, <Location>
, and <Files>
... After every change, I restart Apache, load js file and look at its headers in DevTools - there is no header I wanted to add there.
What am I doing wrong?????