Re: Please allow JS access to Ontologies and LOD

On Wed, Oct 27, 2010 at 09:00:52PM +0000, Hugh Glaser wrote:
> Great stuff - thanks for the advice.
> Done for sameas.org and *.rkbexplorer.com
> 
> However, did it via .htaccess, and would prefer to do it in
> /etc/httpd/http.conf, not least because the vhosts seems to make it end up
> with two of them (which I assume is not illegal?)
> Can anyone tell me the http.conf line that does the same thing, to help a
> lazy citizen :-)

Same as in .htaccess I believe. I just put

    Header add Access-Control-Allow-Origin "*"

for ckan.net in the apache config.

Cheers,
-w

Received on Wednesday, 27 October 2010 21:19:56 UTC