Hi, the firewall is off. Entering http://example.com/cgi-bin/proxy.cgi manually in the browser brings up the following message: Not Found The requested URL /cgi-bin/proxy.cgi was not found on this server. Apache/2.2.3 (CentOS) Server at example.com Port 80
entering http://localhost/cgi-bin/proxy.cgi brings up: waiting for localhost... <urlopen error [Errno 110] Connection timed out> cheers, Sven Quoting "Marc Jansen" <jan...@terrestris.de>: > Hi Sven, > > Is there some firewall active on the server? > > What do you see if you enter http://example.com/cgi-bin/proxy.cgi in > your browser manually? When called without parameters, it'll try to > access www.openlayers.org. > > You should see the OpenLayers Homepage served by your proxy (You'll need > to allow the host www.openlayers.org though) > > Regards, > Marc > > > On 27.08.2010 11:04, Sven Burbeck wrote: >> Hi Marc, >> 1.) Browser indicates: "waiting for localhost" and finally: >> "<urlopen error [Errno 110] Connection timed out>" >> >> 2.) mytest.cgi indeed wasn't Python but Perl. However, I changed it >> to Python >> Content: >> #!/usr/bin/python >> print "Content-type: text/html\r\n\r\n"; >> print "Python CGI works"; >> and it works! >> >> 3.) changed first line in proxy.cgi to #!/usr/bin/python >> but to no avail. The problem remains. >> >> Any idea? >> >> Sven >> >> >> >> Quoting "Marc Jansen"<jan...@terrestris.de>: >> >> >>> Hi Sven, >>> >>> Just some thoughts/questions: >>> >>> * What is the exact server message? >>> * Is your test.cgi a python cgi? >>> * Can proxy.cgi find the pythoin executable? >>> * On a terminal on that machine issue >>> which python >>> >>> This should give you the path to the python executable >>> (/path/to/python). Replace the first line in the proxy.cgi script >>> #!/usr/bin/env python >>> >>> to the output of 'which' >>> #!/path/to/python >>> >>> * Is the script executable (check it with ls -la, maybe add it with >>> chmod +x proxy.cgi) >>> >>> >>> Regards, >>> Marc >>> >>> >>> >>> >>> >>> On 27.08.2010 09:36, Sven Burbeck wrote: >>> >>>> Hello, >>>> sorry for asking stupid newbie questions but I fail to get the >>>> proxi.cgi working. >>>> I followed the FAQ description: >>>> http://trac.openlayers.org/wiki/FrequentlyAskedQuestions#ProxyHost >>>> >>>> I've installed Apache 2.2.13 on SUSE11.2 via rpm. >>>> Apparently the default cgi-bin is under /srv/www/cgi-bin >>>> I put a test.cgi there and it works when calling it: >>>> http://localhost/cgi-bin/test.cgi >>>> >>>> However, trying the same with proxy.cgi fails. >>>> Is there anything else I have to consider? >>>> >>>> cheers, >>>> Sven >>>> >>>> _______________________________________________ >>>> Users mailing list >>>> Users@openlayers.org >>>> http://openlayers.org/mailman/listinfo/users >>>> >>>> >>>> >>> >>> >> >> _______________________________________________ >> Users mailing list >> Users@openlayers.org >> http://openlayers.org/mailman/listinfo/users >> >> > > _______________________________________________ > Users mailing list > Users@openlayers.org > http://openlayers.org/mailman/listinfo/users > > _______________________________________________ Users mailing list Users@openlayers.org http://openlayers.org/mailman/listinfo/users