[OpenLayers-Users] GetFeatureInfo works in IE, not FF, beginner wonders why.

Jana Golinowski jgolinowski at codematix.de
Tue Dec 8 04:01:20 EST 2009


> Hmm, well, I installed Apache and let it run on localhost:8080, and let it
> host my OL html page.
> As long as GeoServer is running that port however, the Apache-hosted html is
> unreachable, which I guess is logical :p Same port = collision, different
> ports = browser policy breach.
> 
> I think http://faq.openlayers.org/proxyhost/all/ would help, but I'm unsure
> how to employ it: Download script, put into /apache/cgi-bin; edit OL html
> page = add "OpenLayers.ProxyHost = "/../cgi-bin/proxy.cgi?url=";" as
> seemingly instructed, attempt to access
> http://yourdomain.example.com/cgi-bin/proxy.cgi - 404.
> 
> I'll ponder this for a bit, for surely they must run on different ports to
> begin with?

Run your Apache on port 80 and take a look at Apache's mod_jk. That way you can make Apache redirect the requests to your Tomcat.

Greetings, Jana.



More information about the Users mailing list