From: Fabien M. <fab...@wa...> - 2012-06-30 17:14:20
|
Hi all, I'm looking to use the proxy modul for Geoserver (i'm working with 2.1.3 on linux) with openlayer and WMS layer. I'have setting up the modul as describ in this link : http://geoserver.org/pages/viewpage.action?pageId=21692763 and i can see now the proxy setting in main menu. But i'm in trouble to setting it. What autorised domain should i declare in it ? the domaine from the request or the domaine to my webserver....???? Does i add some Mime type ? Suppose my server is running geoserver on www.myGeoserver.com:8080 and my site request is on auther server at www.myWebServer.com. i have declared www.myGeoserver.com:8080 and myGeoserver.com:8080 but if i run the test with this : http://www.myGeoserver.com8080/geoserver/rest/proxy?url=http://www.google.com .. i get an "Request for nonpermitted content type or hostname" message. can any one give me some exemple for using the proxy ? Thank's a lot for your help fbm |
From: David W. <dwi...@op...> - 2012-07-02 14:03:43
|
This request: http://www.myGeoserver.com8080/geoserver/rest/proxy?url= http://www.google.com will only succeed if www.google.com is an allowed host for the proxy. -- David Winslow OpenGeo - http://opengeo.org/ On Sat, Jun 30, 2012 at 1:14 PM, Fabien Maison <fab...@wa...> wrote: > Hi all, > > I'm looking to use the proxy modul for Geoserver (i'm working with 2.1.3 > on linux) with openlayer and WMS layer. > I'have setting up the modul as describ in this link : > http://geoserver.org/pages/viewpage.action?pageId=21692763 and i can see > now the proxy setting in main menu. > > But i'm in trouble to setting it. > > What autorised domain should i declare in it ? the domaine from the > request or the domaine to my webserver....???? > Does i add some Mime type ? > > Suppose my server is running geoserver on www.myGeoserver.com:8080 and > my site request is on auther server at www.myWebServer.com. > > > i have declared www.myGeoserver.com:8080 and myGeoserver.com:8080 but if > i run the test with this : > > http://www.myGeoserver.com8080/geoserver/rest/proxy?url= > http://www.google.com > > .. i get an "Request for nonpermitted content type or hostname" message. > > can any one give me some exemple for using the proxy ? > > > Thank's a lot for your help > > fbm > > > > > ------------------------------------------------------------------------------ > Live Security Virtual Conference > Exclusive live event will cover all the ways today's security and > threat landscape has changed and how IT managers can respond. Discussions > will include endpoint security, mobile security and the latest in malware > threats. http://www.accelacomm.com/jaw/sfrnl04242012/114/50122263/ > _______________________________________________ > Geoserver-users mailing list > Geo...@li... > https://lists.sourceforge.net/lists/listinfo/geoserver-users > > |