[OpenLayers-Users] Exception Error
R. Ortner
reinhard.ortner at edu.fh-kaernten.ac.at
Mon Dec 3 09:18:09 EST 2007
ok,
i put > OpenLayers.ProxyHost = "/cgi-bin/proxy.cgi?url="; < into my script.
This maybe works but i get again (now within my application the internal
server error "unhandled request return server error").
could there be a problem with the accessibility of the cgi-bin directory? it
is set to chmod 755
(i get the same internal server error when i call the proxy.cgi directly in
the browser?)
Bart van den Eijnden (OSGIS)-2 wrote:
>
> 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
>>> Users at openlayers.org
>>> http://openlayers.org/mailman/listinfo/users
>>>
>>>
>>>
>>
>>
>
>
> --
> Bart van den Eijnden
> OSGIS, Open Source GIS
> bartvde at osgis.nl
> http://www.osgis.nl
>
> _______________________________________________
> Users mailing list
> Users at openlayers.org
> http://openlayers.org/mailman/listinfo/users
>
>
--
View this message in context: http://www.nabble.com/Exception-Error-tf4936210.html#a14130711
Sent from the OpenLayers Users mailing list archive at Nabble.com.
More information about the Users
mailing list