tomcat-dev mailing list archives

Site index · List index
Message view « Date » · « Thread »
Top « Date » · « Thread »
From Amy Roh <amy...@apache.org>
Subject CGI perl on Windows
Date Wed, 23 May 2001 23:34:32 GMT
Was anyone able to run CGI perl scripts on Windows via Apache
successfully?  I couldn't get it to work even though I have perl
interpreter installed on my windows machine.  I can run perl scripts
fine on command line but not through CGI using Apache.  I couldn't find
any docs on Apache limiting this restriction on Windows either.

As I am concluding CGI feature addition to Tomcat 4, I'm having problem
with running perl scripts via Runtime.exec() on Windows.  It works fine
on Unix, however, I can't seem to create process using the perl
interpreter.  I get IOException error=193 which means "not a valid Win32
application."  Perl interpreter is in my PATH, and works fine on command
line.  But why not using Runtime.exec()?

What's the correct behavior for Apache?  If Apache allows this
limitation on Windows, then I guess it's okay to have the same
limitation running CGI on tomcat as well.  I'm thinking that not many
people use CGI perl on Windows.

Amy


Mime
View raw message