I'm trying to make cross domain request to xml file. In .htaccess
I have
<IfModule mod_headers.c>
Header set Access-Control-Allow-Origin "*"
</IfModule>
and in apache2/sites-available/default
<Directory />
Options FollowSymLinks
AllowOverride All
Order allow,deny
allow from all
</Directory>
but I still receive the
No 'Access-Control-Allow-Origin' header is present on the requested resource. Origin '*' is therefore not allowed access.