The Proxy admin ui in geoserver is something a little different and > applies if you are using geoserver as the proxy server itself, which in > this we are not. > > As you mentioned you have two options. Both involve setting up a local > proxy on your webserver. You can set up a cgi script that will proxy > (one comes with openlayers). You can then point OpenLayers.ProxyHost at > it. Keep in mind that the script does not ship as an open proxy (afaik) > so you would have to modify it to proxy for whatever host/domain your > GeoServer instance is on. > > Your second option is to have your webserver proxy for GeoServer. With > apache this is easy [1]. Then you point your GetFeatureInfo to the same > origin, just referencing the "/geoserver" path.
I've the same problem!!!!!
RépondreSupprimerI found this!!!
RépondreSupprimerThe Proxy admin ui in geoserver is something a little different and
> applies if you are using geoserver as the proxy server itself, which in
> this we are not.
>
> As you mentioned you have two options. Both involve setting up a local
> proxy on your webserver. You can set up a cgi script that will proxy
> (one comes with openlayers). You can then point OpenLayers.ProxyHost at
> it. Keep in mind that the script does not ship as an open proxy (afaik)
> so you would have to modify it to proxy for whatever host/domain your
> GeoServer instance is on.
>
> Your second option is to have your webserver proxy for GeoServer. With
> apache this is easy [1]. Then you point your GetFeatureInfo to the same
> origin, just referencing the "/geoserver" path.