Using Tomcat 4.1.12 on Linux with Sun JDK 1.4.1_01, I've found that a
include directive such as:

<!--#include virtual="/cgi-bin/foo.cgi"-->

Causes Tomcat to print:

"CGI script not found or not specified.

Check the HttpServletRequest pathInfo property to see if it is what you
meant it to be. You must specify an existant and executable file as part
of the path-info."

Note the CGI program works find if typed into the location line of a
browser. Looking at the code in a debugger shows that
request.getPathInfo() in the SSI servlet returns null when it should in
fact be populated with the PATH_INFO CGI environment variable value. If I
don't hear anything in a couple of days I will post a patch of what I had
to do to fix the problem.



--
To unsubscribe, e-mail:   <mailto:tomcat-user-unsubscribe@;jakarta.apache.org>
For additional commands, e-mail: <mailto:tomcat-user-help@;jakarta.apache.org>

Reply via email to