You are viewing a plain text version of this content. The canonical link for it is here.
Posted to solr-user@lucene.apache.org by Yavuz Selim YILMAZ <yv...@gmail.com> on 2010/10/26 15:48:53 UTC
Solr - xmlhttprequest
I have a solr instance in my server, and I can make request with internet
explorer. However, with other browsers I can't.
Error given;
*XMLHttpRequest cannot load http://..... Origin http://... is not allowed by
Access-Control-Allow-Origin.*
I changed my apache server conf file and added this lines;
Header set Access-Control-Allow-Origin "*"
Header set Access-Control-Allow-Methods POST,GET,OPTIONS
Header set Access-Control-Allow-Headers X-PINGOTHER
Header set Access-Control-Max-Age 1728000
to allow.
Still, the same error.
Any suggestion?
--
Yavuz Selim YILMAZ