Hi,
I'm posting my problem once again. I'm trying to run a CGI script thru
Tomcat 4.1.27. I've followed all the steps like renaming
servlets-cgi.jar,servlets-ssi.jar,uncommenting servlet mappings in web.xml
under config.I've also installed ActivePerl 5.6.1.635 where my CGI script is
pointing to.But,when I'm calling this script thru a static html I'm getting
this following error :
java.io.IOException:
org.apache.catalina.servlets.CGIServlet$CGIRunnerIllegal Character in CGI
command path ('.' or '..') detected. Not running CGI
[D:\jakarta-tomcat-4.1.27\bin\..\webapps\examples\WEB-INF\cgi\exp.cgi]. at
org.apache.catalina.servlets.CGIServlet$CGIRunner.run(CGIServlet.java:1538)
at org.apache.catalina.servlets.CGIServlet.doGet(CGIServlet.java:635)
at javax.servlet.http.HttpServlet.service(HttpServlet.java:740)
I've no clue why this is happening,but apparently it looks like the
CGIServlet while compiling the cgi code,is passing ".." after \bin\ as a
command line parameter which is causing the problem.I've checked all the
settings and it seemed to be ok.
I'll appreciate if anyone can help me out on this.
Thanx,
Shamik
---------------------------------------------------------------------
To unsubscribe, e-mail: [EMAIL PROTECTED]
For additional commands, e-mail: [EMAIL PROTECTED]