cgi implementation on unix

Hi there,

i read one article on this site and was really impressed by the way things were explained. so gr8 job ! :)

i am currently facing a problem in cgi implementation of a unix executable using tomcat.

i create a folder structure webapps-->test-->WEB-INF-->cgi + web.xml. this cgi folder has the unix executable called demo.

the web.xml looks like this :

cgi
org.apache.catalina.servlets.CGIServlet

debug
0

cgiPathPrefix
WEB-INF/cgi

passShellEnvironment
true

executable
/bin/ksh

5

cgi
/cgi-bin/*

but while executing i am getting http status 404 error : resource not found..

so can anyone please help me with this as to where am i going wrong....

thanks in advance

-Preeti

Free Dummies Books
Continuous Engineering

Learn:

  • What continuous engineering is
  • How to continuously improve complex product designs
  • How to anticipate and respond to markets and clients
  • How to get the most out of your engineering resources

Get your free book now

Sponsored by IBM

Free Dummies Books
Service Virtualization

Learn to:

  • Define service virtualization
  • Select the most beneficial services to virtualize
  • Improve your traditional approach to testing
  • Deliver higher-quality software faster

Get your free book now

Sponsored by IBM