<div dir="ltr">Hi all,<div>I can't undarstand the problem:</div><div>server with debian 8, tomcat 8, geoserver 2.8, OpenLayers 2.13.</div><div>Apache run over https protocol, all proxy modules are enabled.</div><div>WMSGetFeatureInfo:</div><div><div>"info = new OpenLayers.Control.WMSGetFeatureInfo({</div><div>    url: '<a href="http://localhost:8080/geoserver/raptor/wms">http://localhost:8080/geoserver/raptor/wms</a>', </div><div>    title: 'Informazioni sui livelli interrogati',</div><div>    layers: [siti, vincoli, progetti, interventi, ind_neg],</div><div>    queryVisible: true,</div><div>    infoFormat:'application/json',</div><div>    format: new OpenLayers.Format.JSON,</div><div>    vendorParams: {buffer: 10},</div><div>    eventListeners: {</div><div>        getfeatureinfo: function(event) {</div><div>         var data = event.text;</div><div>         console.log(data);</div><div>        }</div><div>    }</div><div>});</div><div>map.addControl(info);</div><div>info.activate();"</div></div><div><div><br></div><div>...but when I click on map I read this error in firebug:</div>"Uncaught SyntaxError: Unexpected token #"<br><br>If I go on localhost/cgi-bin/proxy.cgi, I do not have the expected result but:<br>"#!/usr/bin/env python<br><br>"""This is a blind proxy that we use to get around browser<br>restrictions that prevent the Javascript from loading pages not on the<br>same server as the Javascript.  This has several problems: it's less<br>efficient, it might break some sites, and it's a security risk because<br>people can use this proxy to browse the web and possibly do bad stuff<br>with it.  It only loads pages via http and https, but it can load any<br>content type. It supports GET and POST requests."""<br><br>import urllib2<br>import cgi<br>import sys, os<br><br># Designed to prevent Open Proxy type stuff.<br><br>......."</div><div><div><pre style="word-wrap:break-word"><font face="arial, sans-serif"><span style="white-space:normal">I probably forgot to install some library?</span></font></pre><pre style="word-wrap:break-word"><font color="#000000"><span style="white-space:pre-wrap">How to fix this annoying problem?!</span></font></pre><pre style="color:rgb(0,0,0);word-wrap:break-word;white-space:pre-wrap">Thanx</pre><pre style="color:rgb(0,0,0);word-wrap:break-word;white-space:pre-wrap">-beppe-</pre></div>-- <br><div><div dir="ltr"><div><font color="#000000" size="2"><b><u>Giuseppe Naponiello</u></b></font></div><div><font color="#000000" size="2"><b><u><br></u></b></font></div><div><b style="color:rgb(136,136,136)"><font size="4"><font color="#ff0000">A</font></font></b><b><font size="4" color="#000000">rc-</font></b><b style="color:rgb(136,136,136)"><font size="4"><font color="#ff0000">T</font></font></b><b><font size="4" color="#000000">eam srl</font></b><br style="color:rgb(136,136,136)"><font color="#000000">piazza Navarrino, 13 - 38023Cles (TN) <br>C.F. e P. IVA IT-01941600221 <br>cell.</font><font color="#888888"> </font><a value="+393476846599" style="color:rgb(17,85,204)">+393476846599</a><br style="color:rgb(136,136,136)"><font color="#000000">mail:</font><font color="#888888"> </font><a href="mailto:beppenapo@arc-team.com" style="color:rgb(17,85,204)" target="_blank">beppenapo@arc-team.com</a><br style="color:rgb(136,136,136)"><font color="#000000">pec:</font><font color="#888888"> </font><a href="mailto:arc-team@pec.it" style="color:rgb(17,85,204)" target="_blank">arc-team@pec.it</a><br style="color:rgb(136,136,136)"><font color="#000000"><a href="http://www.arc-team.com/" style="color:rgb(17,85,204)" target="_blank">www.arc-team.com</a></font><br style="color:rgb(136,136,136)"><a href="http://arc-team-open-research.blogspot.it/" style="color:rgb(17,85,204)" target="_blank">http://arc-team-open-research.blogspot.it/</a><br></div></div></div>
</div></div>