[Gfoss] problema con OpenLayers.ProxyHost

Luca Delucchi lucadeluge a gmail.com
Ven 24 Lug 2009 14:26:02 CEST


Ciao a tutti ho un problema con OpenLayers.ProxyHost, l'ho settato
seguendo la FAQ [1], testandolo da browser funziona, il problema è che
quando vado a visualizzare la pagina mi restituisce questo errore

http://********/cgi-bin/proxy.cgi?url=http%3A%2F%2F*********%2Fcgi-bin%2Fmapserv%3Fmap%3D%2Fhome%2Fgis%2Fmapserver%2Fwfs_previsione.map%26typename%3DIndici_vendemmia%26maxfeatures%3D1000%26SERVICE%3DWFS%26VERSION%3D1.0.0%26REQUEST%3DGetFeature%26SRS%3DEPSG%253A900913%26BBOX%3D1241760.077539%2C5796597.7313438%2C1261671.9234038%2C5807585.5541578
	
502 Bad Gateway		209ms

Firebug needs to POST to the server to get this information for url:
http://********/cgi-bin/proxy.cgi?url=http%3A%2F%2F*********%2Fcgi-bin%2Fmapserv%3Fmap%3D%2Fhome%2Fgis%2Fmapserver%2Fwfs_previsione.map%26typename%3DIndici_vendemmia%26maxfeatures%3D1000%26SERVICE%3DWFS%26VERSION%3D1.0.0%26REQUEST%3DGetFeature%26SRS%3DEPSG%253A900913%26BBOX%3D1241760.077539%2C5796597.7313438%2C1261671.9234038%2C5807585.5541578

This second POST can interfere with some sites. If you want to send
the POST again, open a new tab in Firefox, use URL 'about:config', set
boolean value 'extensions.firebug.allowDoublePost' to true
This value is reset every time you restart Firefox This problem will
disappear when https://bugzilla.mozilla.org/show_bug.cgi?id=430155 is
shipped.

nel file proxy.cgi cosa devo inserire nei allowedHosts? io ho provato
un po' di tutto ma il problema non si risolve

ciao e grazie
Luca

[1] http://trac.openlayers.org/wiki/FrequentlyAskedQuestions#ProxyHost


Maggiori informazioni sulla lista Gfoss