Chris, Thanks. I'm not switching to Apache http server.
Unfortunately the same thing happened again. I put the first.pl in the /cgi-bin/ directory and try to access it via http://localhost/cgi-bin/first.pl, it tells me that file not found. I don't know what I should do for httpd.conf file. Thanks. Robert. On 4/25/05, Chris Devers <[EMAIL PROTECTED]> wrote: > On 4/25/05, Robert Kerry <[EMAIL PROTECTED]> wrote: > > I changed the web.xml file and the .jar suffix as required, and create > > a new directory WEB-INF/cgi/ under webapps/ directory, I put my > > first.pl into that directory, and try to visit it using > > http://localhost:8080/cgi/first.pl but it doesn't work. I've also > > tried /cgi-bin/first.pl and something else, always give me HTTP 404 > > file not found error. What should I do? > > You mean, what should you do aside from hope that Perl will just > magically execute from within a *Java* application server ?? > > Maybe I'm misinformed, but Tomcat is as far as I know only for running > code written in Java (or weird hybrids like Jython). > > If you want to run Perl, why aren't you running Apache/CGI or Apache/mod_perl? > > -- > Chris Devers > -- To unsubscribe, e-mail: [EMAIL PROTECTED] For additional commands, e-mail: [EMAIL PROTECTED] <http://learn.perl.org/> <http://learn.perl.org/first-response>