OpenTreeOfLife / taxomachine

taxonomy graphdb
Other
7 stars 4 forks source link

Update readme file #12

Closed chinchliff closed 11 years ago

chinchliff commented 11 years ago

Questions from JAR to be answered in the README (once we have answers)

  1. The javascript seems to call back to opentree-dev.bio.ku.edu:7474 in violation of the same origin policy. Do I misunderstand either how the pages are deployed or the SOP? Ahh... I see you're doing the CORS thing Access-Control-Allow-Origin: * , where is that configured?
  2. When I set up neo4j, connections on port 7474 are only allowed from localhost. Is something done at KU to override this restriction?
mtholder commented 11 years ago

Short answer to both: I don't know for sure.

My best guess:

  1. I think that the Access-Control-Allow-Origin : * mode is the default when you are running neo4j with RESTful features (see http://components.neo4j.org/neo4j-server/1.7/apidocs/org/neo4j/server/rest/web/AllowAjaxFilter.html)
    1. To serve to any machine set the host address to 0.0.0.0 as described at http://docs.neo4j.org/chunked/stable/security-server.html

all the best, Mark

On Tue, Feb 5, 2013 at 9:17 PM, chinchliff notifications@github.com wrote:

Questions from JAR to be answered in the README (once we have answers)

1.

The javascript seems to call back to opentree-dev.bio.ku.edu:7474 in violation of the same origin policy. Do I misunderstand either how the pages are deployed or the SOP? Ahh... I see you're doing the CORS thing Access-Control-Allow-Origin:

  • , where is that configured? 2.

    When I set up neo4j, connections on port 7474 are only allowed from localhost. Is something done at KU to override this restriction?

    — Reply to this email directly or view it on GitHubhttps://github.com/OpenTreeOfLife/opentree-taxomachine/issues/12.

Mark Holder

mtholder@gmail.com mtholder@ku.edu http://phylo.bio.ku.edu/mark-holder

Department of Ecology and Evolutionary Biology University of Kansas 6031 Haworth Hall 1200 Sunnyside Avenue Lawrence, Kansas 66045

lab phone: 785.864.5789

fax (shared): 785.864.5860

chinchliff commented 11 years ago

I think this has been resolved...