Skip to content

Permitting data import from SOCR datasets  #9

@khare-ashwini

Description

@khare-ashwini

Since the application is being hosted with socr.ucla.edu hostname and most of the SOCR datasets are available at wiki.stat.ucla.edu host an xhr request is being treated as violation of the same origin policy.

This can be bypassed with Cross-Origin Resource Sharing between the two hosts

The required syntax would be

Access-Control-Allow-Origin: http://socr.ucla.edu

in the server configuration of wiki.stat.ucla.edu which may be altered in the .htaccess file or the httpd.conf file in case of Apache

More Info : http://www.nczonline.net/blog/2010/05/25/cross-domain-ajax-with-cross-origin-resource-sharing/

Metadata

Metadata

Assignees

No one assigned

    Type

    No type

    Projects

    No projects

    Milestone

    No milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions