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/09/01 11:10:41 UTC
DO NOT REPLY [Bug 22857] New: -
Spaces in Tomcat install directory name causes CGI failure
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=22857>.
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=22857
Spaces in Tomcat install directory name causes CGI failure
Summary: Spaces in Tomcat install directory name causes CGI
failure
Product: Tomcat 4
Version: 4.0.4 Final
Platform: PC
OS/Version: Windows NT/2K
Status: NEW
Severity: Normal
Priority: Other
Component: Servlets:CGI
AssignedTo: tomcat-dev@jakarta.apache.org
ReportedBy: gordon.degrandis@ing.be
If the Tomcat default install directory is used on Windows (NT/W2k/XP) the
default name causes CGI scripts not to function.
The default install name for Tomcat is:
<drive>:\Program Files\Apache Tomcat 4.0\
In our case the install name is:
<drive>:\soft\AR2\Apache Tomcat 4.0\
If a CGI script that uses Perl is used within this installation the result from
the CGI is output on the web page. The result on the web page is:
Can't open perl script "<drive>:\soft\AR2\Apache": No such file or directory
The message contains the installation directory name for Tomcat up to the first
blank character.
The CGI path name once evaluated by Tomcat is:
<drive>:\soft\AR2\Apache Tomcat 4.0\webapps\adaptive\WEB-INF\Cgi\exp.cgi
There does not seem to be a way to change this behaviour in the standard Tomcat
product.
Other information is available on request. I have the CGI script and all the
log files.
Thank you