I’m tryng to use a proxy.cgi for my app developed in openlayer.

But when i try to use the url of the cgi i can read the test of the file 
proxy.cgi and it’s not executed.


I’ve modified the server.xml adding:


    <servlet>
        <servlet-name>cgi</servlet-name>
        <servlet-class>org.apache.catalina.servlets.CGIServlet</servlet-class>
        <init-param>
          <param-name>debug</param-name>
          <param-value>0</param-value>
        </init-param>
        <init-param>
          <param-name>cgiPathPrefix</param-name>
          <param-value>WEB-INF/cgi</param-value>
        </init-param>
         <load-on-startup>5</load-on-startup>
    </servlet>



and:


    <servlet-mapping>
        <servlet-name>cgi</servlet-name>
        <url-pattern>/cgi-bin/*</url-pattern>
    </servlet-mapping>



and i put the proxy.cgi in the folder WEB-INF/cgi of my app! while server.xml 
and context.xml in the folder of my application on server.


in context.xml i’ve added:

  <Context antiResourceLocking="false" privileged="true" useHttpOnly="true" /> 



but if i go on http://localhost:8080/examples/ac/proxy.cgi

i read:









Some text can go here... Maybe explaining your project.




Query result





​

Reply via email to