Linda Solomon wrote: > Hello, > > I don't believe that Tomcat 4 executed every cgi thru "perl". > If I execute > "perl cgi-program" Found it. Didn't quite go back far enough in the change logs. The cause is the fix for bug 22858. (http://issues.apache.org/bugzilla/show_bug.cgi?id=22858)
> I set the "executable" to "/bin/doexec" and all is well once again. > I know this solution works on a Linux platform (both Redhat 7.3 and > Redhat AS3.0). > I do not know what solution works for other platforms. I haven't tested this but it should work. Define the CGI servlet several times in web.xml (you will need to specify a different servlet-name for each instance) and provide different mapping and init parameters for each combination you need to support. For example you could define an extension mapping of *.pl with an executable of "perl" and *.cgi with an executable of "/bin/sh" or whatever is appropriate for your various cgi scripts. Be aware that if you use extension mapping you must set cgiPathPrefix to "". Also bear in mind the mapping rules in SRV.11.1 for mapping requests to servlets. HTH, Mark --------------------------------------------------------------------- To unsubscribe, e-mail: [EMAIL PROTECTED] For additional commands, e-mail: [EMAIL PROTECTED]