You need to define OpenLayers.ProxyHost in your javascript code, not in your Apache config file.
Best regards, Bart R. Ortner schreef: > need some configuration help please! > > i copied the proxy.cgi in my cgi-bin dir. and put the > > < OpenLayers.ProxyHost = "/cgi-bin/proxy.cgi?url="; > > > into my httpd.conf from my appache webserver. > (the url= is the url which i like to call with my applicatoin (e.g. > http://gis.at/com.esri.wms.Esrimap/geoland2), i guess or the url to the > proxy.cgi? (e.g. http://172.xx.xx.xx/cgi-bin/proxy.cgi)) > > when i now restart the appache webserver i get the following message: > Invalid command 'OpenLayers.ProxyHost', perhaps mis-spelled or defined > by a module not included in the server configuration > > when i trie to call the proxy.cgi with > http://172.xx.xx.xx/cgi-bin/proxy.cgi: > > Internal Server Error > > The server encountered an internal error or misconfiguration and was > unable to complete your request. > > Please contact the server administrator, [no address given] and > inform them of the time the error > occurred, and anything you might have done that may have caused the > error. > > More information about this error may be available in the server error > log. > > > Christopher Schmidt-4 wrote: > >> On Mon, Dec 03, 2007 at 04:31:59AM -0800, R. Ortner wrote: >> >>> Any idea whats wrong? >>> >> http://en.wikipedia.org/wiki/Same_origin_policy >> >> http://trac.openlayers.org/wiki/FrequentlyAskedQuestions#WhydoIneedaProxyHost >> >> Regards, >> -- >> Christopher Schmidt >> MetaCarta >> _______________________________________________ >> Users mailing list >> [email protected] >> http://openlayers.org/mailman/listinfo/users >> >> >> > > -- Bart van den Eijnden OSGIS, Open Source GIS [EMAIL PROTECTED] http://www.osgis.nl _______________________________________________ Users mailing list [email protected] http://openlayers.org/mailman/listinfo/users
