Skip to main content

[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index] [List Home]
Re: [orion-dev] Using Sites with Orion

Orion uses Jetty 8 and Jetty 8 supports CORS:
http://wiki.eclipse.org/Jetty/Feature/Cross_Origin_Filter

So in theory I could configure the jetty server to allow localhost as
well as 127.0.0.*,... if I knew how the jetty config worked in Orion.
Anyone know how?

Also in theory I could configure it to allow the login credential for
127.0.0.* to be sent with the request. The documentation on this seems
very limited however.

jjb

On Tue, Mar 13, 2012 at 4:44 PM, John J Barton
<johnjbarton@xxxxxxxxxxxxxxx> wrote:
> I am serving my web app out of an Orion site, it runs on
> http://127.0.0.2:8080. But when it comes time to read Orion files, my
> XHR fails because the Orion files are on http://localhost:8080, and
> that is interpreted as cross-origin.
>
> I guess I can put my app and the app I am debugging on the same Site,
> but that's a real hack.
>
> Other suggestions?
>
> jjb
> _______________________________________________
> orion-dev mailing list
> orion-dev@xxxxxxxxxxx
> https://dev.eclipse.org/mailman/listinfo/orion-dev


Back to the top