Hi all

I am having a problem with the proxy extension (to enable me to httppost
over different domains).  I have searched posts here but could not find any
resolution.

I managed to get the proxy to work in a test environment.  The URL below
shows a map - if you click on a property point it should successfully
display info in a popup using GetFeatureInfo:

http://gis.southsomerset.gov.uk/geoserver/rest/proxy?url=http://webmap2.southsomerset.gov.uk/wfs/info_eg.html
http://gis.southsomerset.gov.uk/geoserver/rest/proxy?url=http://webmap2.southsomerset.gov.uk/wfs/info_eg.html
 

As you see, this is doing a cross domain call from gis to webmap2 and works
lovely!  So, spurred by my success I added my live domain to the proxy admin
and deployed the code to our live website (
http://www.southsomerset.gov.uk/generic-map.aspx
http://www.southsomerset.gov.uk/generic-map.aspx ) but something goes wrong
(500 internal server error on the target domain), all I see is a blank
screen:

http://gis.southsomerset.gov.uk/geoserver/rest/proxy?url=http://www.southsomerset.gov.uk/generic-map.aspx
http://gis.southsomerset.gov.uk/geoserver/rest/proxy?url=http://www.southsomerset.gov.uk/generic-map.aspx
 

Does anyone know why my new domain would fail like this?  Is it because of
the complexity of the site and Geoserver cannot handle it as a proxy?  My
test was a basic HTML file but all I did was add the extra javascript to the
live ascx file.  It appears geoserver is routing the URL ok as I do not get
the 'Request for nonpermitted content type or hostname' response.  Instead,
I get no response.

If someone has any ideas I would be very grateful - I've fallen at the final
hurdle here and I'm totally out of ideas....

Thanks all

Adrian

-- 
View this message in context: 
http://old.nabble.com/Proxy---works-for-one-domain%2C-not-another--tp30121914p30121914.html
Sent from the GeoServer - Dev mailing list archive at Nabble.com.


------------------------------------------------------------------------------
Centralized Desktop Delivery: Dell and VMware Reference Architecture
Simplifying enterprise desktop deployment and management using
Dell EqualLogic storage and VMware View: A highly scalable, end-to-end
client virtualization framework. Read more!
http://p.sf.net/sfu/dell-eql-dev2dev
_______________________________________________
Geoserver-devel mailing list
[email protected]
https://lists.sourceforge.net/lists/listinfo/geoserver-devel

Reply via email to