[OpenLayers-Users] proxy and WMS getfeatureinfo

Alexandre Dube adube at mapgears.com
Tue Dec 9 15:53:17 EST 2008


Hi Javier,

http://trac.openlayers.org/wiki/FrequentlyAskedQuestions#ProxyHost

Also, make sure the proxy is executable, chmod +x in linux

Alexandre

Javier Galán wrote:
> Hi all:
>
> I'm trying to do a tool that recover the info of one feature with an 
> wms service. I tried it in localhost and works, that's I suppose that 
> I did it right.
> The issue comes when y change localhhost to 127.0.0.1 
> <http://127.0.0.1>, to simulate a request from a external computer. 
> Any browser takes me an advice, that's why I'n trying to configure the 
> proxy.
>
> I'm working with mapserver an testing on firefox3.0.4
>
> I copied the proxy.cgi, put on this place configured the " 
> /OpenLayers.ProxyHost = "/cgi-bin/proxy.cgi?url="; /" I added to the 
> proxi.cgi '127.0.0.1 <http://127.0.0.1>' and 'localhost.local.domain' 
> ( my ServerName)
>
> I don't know why, but  when I use the tool fireFox gets my that error:
>
> "Unhandled request return Internal Server Error"
>
> Whit firebug I can check that the url and it is well formed.
>
> Where can be the problem? ¿could it be al the mapverver file 
> configuration or at the request format?
>
> Thanks in advance for any help.
>
> Regards
>
>
>
>
> ------------------------------------------------------------------------
>
> _______________________________________________
> Users mailing list
> Users at openlayers.org
> http://openlayers.org/mailman/listinfo/users
>   


-- 
Alexandre Dubé
Mapgears
www.mapgears.com




More information about the Users mailing list