But when i call the proxy from my application in openlayers the html file is under: C:\Program Files\Apache Software Foundation\Tomcat 7.0\webapps\examples\js\ac
and i call the proxy in this way: OpenLayers.ProxyHost = "../../cgi-bin/proxy.cgi?url="; i recieve: HTTP Status 502 - type Status report message description This server received an invalid response from a server it consulted when acting as a proxy or gateway. Apache Tomcat/7.0.67Why? > From: gallett...@hotmail.com > To: users@tomcat.apache.org > Subject: RE: Problem With proxi.cgi > Date: Wed, 20 Jan 2016 06:52:51 +0000 > > yes > > C:\Program Files\Apache Software Foundation\Tomcat > 7.0\webapps\examples\WEB-INF\cgi > > and > http://localhost:8080/examples/cgi-bin/proxy.cgi > now i see the openlayers website :) > > Thanks > > > Subject: Re: Problem With proxi.cgi > > To: users@tomcat.apache.org > > From: ma...@apache.org > > Date: Tue, 19 Jan 2016 22:45:46 +0000 > > > > On 19/01/2016 19:21, Luciano Martin Galletti wrote: > > > Sorry was a typo error read this > > > > > > Ok now i've web.xml under > > > C:\Program Files\Apache Software Foundation\Tomcat > > > 7.0\webapps\examples\WEB-INF > > > > > > and context.xml under > > > C:\Program Files\Apache Software Foundation\Tomcat > > > 7.0\webapps\examples\META-INF > > > > > > but same problem of before i read the file .cgi as text > > > on http://localhost:8080/examples/cgi/proxy.cgi > > > > And what is the full path of the CGI file? > > > > It should be: > > C:\Program Files\Apache Software Foundation\Tomcat > > 7.0\webapps\examples\WEB-INF\cgi\proxy.cgi > > > > And then you use: > > http://localhost:8080/examples/cgi-bin/proxy.cgi > > > > to access it. > > > > Mark > > > > > > > > > > > > >> From: gallett...@hotmail.com > > >> To: users@tomcat.apache.org > > >> Subject: RE: Problem With proxi.cgi > > >> Date: Tue, 19 Jan 2016 19:16:36 +0000 > > >> > > >> Ok now i've web.xml under > > >> C:\Program Files\Apache Software Foundation\Tomcat 7.0\webapps\examples > > >> > > >> and context.xml under > > >> C:\Program Files\Apache Software Foundation\Tomcat > > >> 7.0\webapps\examples\META-INF > > >> > > >> but same problem of before i read the file .cgi as text > > >> on http://localhost:8080/examples/cgi/proxy.cgi > > >> > > >> > > >>> From: chuck.caldar...@unisys.com > > >>> To: users@tomcat.apache.org > > >>> Subject: RE: Problem With proxi.cgi > > >>> Date: Tue, 19 Jan 2016 18:54:40 +0000 > > >>> > > >>>> From: Luciano Martin Galletti [mailto:gallett...@hotmail.com] > > >>>> Subject: RE: Problem With proxi.cgi > > >>> > > >>>> Yes both xml files are inside > > >>> > > >>> Be precise; exactly which xml files are you referring to? > > >>> > > >>>> C:\Program Files\Apache Software Foundation\Tomcat > > >>>> 7.0\webapps\examples\WEB-INF > > >>> > > >>> As Mark already stated, the context.xml file should be under META-INF, > > >>> not WEB-INF. > > >>> > > >>> - Chuck > > >>> > > >>> > > >>> THIS COMMUNICATION MAY CONTAIN CONFIDENTIAL AND/OR OTHERWISE > > >>> PROPRIETARY MATERIAL and is thus for use only by the intended > > >>> recipient. If you received this in error, please contact the sender and > > >>> delete the e-mail and its attachments from all computers. > > >>> > > >>> > > >>> --------------------------------------------------------------------- > > >>> To unsubscribe, e-mail: users-unsubscr...@tomcat.apache.org > > >>> For additional commands, e-mail: users-h...@tomcat.apache.org > > >>> > > >> > > > > > > > > > > > > --------------------------------------------------------------------- > > To unsubscribe, e-mail: users-unsubscr...@tomcat.apache.org > > For additional commands, e-mail: users-h...@tomcat.apache.org > > >