I have a form that sends its data to a Perl script under Tomcat 6.0.16.
I get an error message "The requested resource
(/perlTest/WEB-INF/cgi-bin/form.pl) is not available." The form.pl file
is, in fact, in that folder. I'm running Windows XP. Permissions have
been set properly (using Cygwin chmod) to 0755.
I just upgraded to Tomcat 6.0.16. I used to have my perl scripts in the
cgi-bin folder under the root context. I see now the cgi-bin folder has
been moved to 'WEB-INF'.
This is reflected in %CATALINA_HOME%/conf/web.xml in an <init-param>
element as follows:
<init-param>
<param-name>cgiPathPrefix</param-name>
<param-value>WEB-INF/cgi</param-value>
</init-param>
in the cgi servlet definition.
The <servlet-mapping> element appears as follows:
<servlet-mapping>
<servlet-name>cgi</servlet-name>
<url-pattern>/cgi-bin/*</url-pattern>
</servlet-mapping>
I tried the old method of putting the script in cgi-bin under the root
context, but that also failed.
Any ideas?
Doug
---------------------------------------------------------------------
To start a new topic, e-mail: [email protected]
To unsubscribe, e-mail: [EMAIL PROTECTED]
For additional commands, e-mail: [EMAIL PROTECTED]