The moose likes Tomcat and the fly likes Enabling cgi scripts on Tomcat Big Moose Saloon
  Search | Java FAQ | Recent Topics | Flagged Topics | Hot Topics | Zero Replies
Register / Login

Win a copy of Android Security Essentials Live Lessons this week in the Android forum!
JavaRanch » Java Forums » Products » Tomcat
Bookmark "Enabling cgi scripts on Tomcat" Watch "Enabling cgi scripts on Tomcat" New topic

Enabling cgi scripts on Tomcat

chari bah

Joined: Mar 15, 2005
Posts: 1
I have been using tomcat for a while and a new software installation requires me to run cgi executables from tomcat. I went through the documentation on tomcat docs page, and have made the necessary changes to the jar files and conf.xml files. I was testing a helloworld program on windows. It is a .bat file placed within webapps/my-dir/WEB-INF/cgi-bin directory. Now I'm unable to run this file from this location. Can someone tell me what's going wrong with what I'm attempting to do?

Chari Bah
William Brogden
Author and all-around good cowpoke

Joined: Mar 22, 2000
Posts: 12761
My crystal ball is in the shop for the 10,000 vision checkup so you are going to have to provide details rather than relying on extrasensory perception.
How exactly are you trying to invoke this CGI script?
What exactly is it supposed to do?
What exactly happens when you try it?
Does any related message appear in the logs?
I agree. Here's the link: http://aspose.com/file-tools
subject: Enabling cgi scripts on Tomcat
Similar Threads
problem running cgi script
Help with setting up Tomcat 6.018 for Python scripts
tomcat integration with dynasight
Need Help Deploying WAR files
Need to download a file from a https cgi connection