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

...and I know Simon is looking closely at CORS and how it can fit in with our authentication/cross site access story

Inactive hide details for Mike Wilson ---03/14/2012 10:33:13 AM---note: Simon and Ken are both out this week... McQ.Mike Wilson ---03/14/2012 10:33:13 AM---note: Simon and Ken are both out this week... McQ.

From: Mike Wilson <Mike_Wilson@xxxxxxxxxx>
To: Orion developer discussions <orion-dev@xxxxxxxxxxx>
Date: 03/14/2012 10:33 AM
Subject: Re: [orion-dev] Using Sites with Orion
Sent by: orion-dev-bounces@xxxxxxxxxxx





note: Simon and Ken are both out this week...

McQ.

Inactive hide details for John J Barton ---2012/03/14 12:46:53---Orion uses Jetty 8 and Jetty 8 supports CORS:John J Barton ---2012/03/14 12:46:53---Orion uses Jetty 8 and Jetty 8 supports CORS:

From:

John J Barton <johnjbarton@xxxxxxxxxxxxxxx>

To:

Orion developer discussions <orion-dev@xxxxxxxxxxx>

Date:

2012/03/14 12:46

Subject:

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
_______________________________________________
orion-dev mailing list
orion-dev@xxxxxxxxxxx

https://dev.eclipse.org/mailman/listinfo/orion-dev


_______________________________________________
orion-dev mailing list
orion-dev@xxxxxxxxxxx
https://dev.eclipse.org/mailman/listinfo/orion-dev

GIF image

GIF image