Prior to 5.0.17, the cgi executable was hardcoded to perl. From 5.0.17 onwards this is configurable. For example, if you wanted to use XXXapp as the perl executable, edit conf/web.xml to look something this:
<servlet> <servlet-name>cgi</servlet-name> <servlet-class>org.apache.catalina.servlets.CGIServlet</servlet-class> <init-param> <param-name>clientInputTimeout</param-name> <param-value>100</param-value> </init-param> <init-param> <param-name>debug</param-name> <param-value>6</param-value> </init-param> <init-param> <param-name>cgiPathPrefix</param-name> <param-value>WEB-INF/cgi</param-value> </init-param> <init-param> <param-name>executable</param-name> <param-value>XXXapp</param-value> </init-param> <load-on-startup>5</load-on-startup> </servlet> <servlet-mapping> <servlet-name>cgi</servlet-name> <url-pattern>/cgi-bin/*</url-pattern> </servlet-mapping> Alternatively you can put this in the web.xml for you web app. Note that XXXapp must be on your path. Mark > From: zhicheng wang [mailto:[EMAIL PROTECTED] > i am trying to upgrade our server to t5, but the > cgi-bin now only allows perl programs to be executed > (by default). for compiled c or c++ etc, how do i > modify the web.xml? --------------------------------------------------------------------- To unsubscribe, e-mail: [EMAIL PROTECTED] For additional commands, e-mail: [EMAIL PROTECTED]