I fingured it out - simply specify "executable" to be empty. -----Original Message----- From: YuanGao Zhang [mailto:[EMAIL PROTECTED] Sent: Monday, August 14, 2006 6:09 PM To: List, Tomcat Users Subject: Help needed for TOMCAT CGI configuration: how to run an executable binary/script cgi (not perl)?
I have a cgi written in c/c++, built into a binary executable, say "myCpp.cgi". I put it under webapps/ROOT/WEB-INF/cgi and then try "get /cgi-bin/myCpp.cgi", nothing happens. It works if I use a perl script instead, say, "get /cgi-bin/myPerl.cgi". I assume the actually command is "perl xxxxxx" so "perl myPerl.cgi" works but "perl myCpp.cgi" doesn't, according to conf/web.xml <!-- executable Name of the exectuable used to run --> <!-- script. --> How can I configure the tomcat to run the script directly instead of using an "executable", namely, runing "myXXX.cgi" not "perl myXXX.cgi"? Any help ismuch appreciated! Yuangao --------------------------------------------------------------------- To start a new topic, e-mail: users@tomcat.apache.org To unsubscribe, e-mail: [EMAIL PROTECTED] For additional commands, e-mail: [EMAIL PROTECTED] --------------------------------------------------------------------- To start a new topic, e-mail: users@tomcat.apache.org To unsubscribe, e-mail: [EMAIL PROTECTED] For additional commands, e-mail: [EMAIL PROTECTED]