You are viewing a plain text version of this content. The canonical link for it is here.
Posted to dev@tomcat.apache.org by bu...@apache.org on 2003/12/29 21:30:52 UTC
DO NOT REPLY [Bug 25807] New: -
CGI, Can't open perl script, No such file or directory bug
DO NOT REPLY TO THIS EMAIL, BUT PLEASE POST YOUR BUG
RELATED COMMENTS THROUGH THE WEB INTERFACE AVAILABLE AT
<http://nagoya.apache.org/bugzilla/show_bug.cgi?id=25807>.
ANY REPLY MADE TO THIS MESSAGE WILL NOT BE COLLECTED AND
INSERTED IN THE BUG DATABASE.
http://nagoya.apache.org/bugzilla/show_bug.cgi?id=25807
CGI, Can't open perl script, No such file or directory bug
Summary: CGI, Can't open perl script, No such file or directory
bug
Product: Tomcat 5
Version: 5.0.16
Platform: Sun
OS/Version: Solaris
Status: NEW
Severity: Blocker
Priority: Other
Component: Servlets:CGI
AssignedTo: tomcat-dev@jakarta.apache.org
ReportedBy: jemiller@uchicago.edu
I am able to use CGI without a problem using Tomcat 4. However, I can't get it
to work with Tomcat. I uncommented the CGI related lines in conf/web.xml and
Tomcat appears to be attempting to execute my CGI Perl script. However, I keep
receiving the following error. Note, I know the path to the file is correct as
I'm able to view the file using less by pasting the path from the log into the
command line.
2003-12-29 14:24:01 StandardContext[]cgi: runCGI (stderr):Can't open perl
script ""/opt/jakarta-tomcat-5.0.16/webapps/ROOT/WEB-INF/cgi/awstats.pl"": No
such file or directory
2003-12-29 14:24:01 StandardContext[]cgi: runCGI: 1 lines received on stderr
Also, I just noticed that if I copy server/lib/servlets-cgi.jar from my Tomcat
4 installation to my Tomcat 5 installation it works just fine, so, it appears
to be a newly introduced bug.
---------------------------------------------------------------------
To unsubscribe, e-mail: tomcat-dev-unsubscribe@jakarta.apache.org
For additional commands, e-mail: tomcat-dev-help@jakarta.apache.org