[jetty-user] Re: Create a cross-origin filter in jetty.xml to allow remote requests
uk52rob <[email protected]> Fri, 13 Jul 2012 10:55:32 -0700 (PDT)
| Newsgroups | gmane.comp.java.jetty.support |
|---|---|
| Message-ID | <[email protected]> |
Hi Simon,
Jetty runs as part of the GeoServer 2.1.4 package
(http://geoserver.org/display/GEOS/Welcome), which hosts itself on port
8080.
I have an IIS server on another port with another website, which runs a
front-end to the Jetty instance on port 8080. The site uses javascript with
XMLHttpRequest which works fine with images, but will not allow XML to be
passed between the two sites.
Is there a way of adding a CrossOriginFilter to the Jetty instance
configuration to allow these XML requests between domains / ports?
When attempting to XMLHttpRequest to http://geoserver.testdomain.com:8080,
the console log currently states:
"Origin https://geoserver.testdomain.com:443 is not allowed by
Access-Control-Allow-Origin".
Thanks
--
View this message in context: http://jetty.4.n6.nabble.com/Create-a-cross-origin-filter-in-jetty-xml-to-allow-remote-requests-tp4958832p4958835.html
Sent from the Jetty Support mailing list archive at Nabble.com.
---------------------------------------------------------------------
To unsubscribe from this list, please visit:
http://xircles.codehaus.org/manage_email