geronimo-user mailing list archives

Site index · List index
Message view « Date » · « Thread »
Top « Date » · « Thread »
From "Peter L. Berghold" <pe...@berghold.net>
Subject Re: CGI and Geronimo/Tomcat
Date Sun, 13 Jul 2008 17:22:52 GMT
-----BEGIN PGP SIGNED MESSAGE-----
Hash: SHA1

Kevan Miller wrote:

> Here's general info for Tomcat --
> http://tomcat.apache.org/tomcat-6.0-doc/cgi-howto.html

Read this two or three times (as well as the comments in the web.xml
file) before I posted. Did what I thought it was telling me to do and so
far NG.


> Place your scripts in WEB-INF/cgi/
> 

Did that after trying to be "stubborn" and leave them in "cgi-bin" where
they were located while the website was hosted at the previous
provider's server.  Now I am running in a VPS and have to re-invent things.

> Borrowing from the tomcat instructions use this as your WEB-INF/web.xml:
> 


Snip.  The CGI script in question (written in Perl) doesn't seem to be
getting executed still. In fact the purpose of the script is to generate
"on the fly" javascript and what is coming back instead is the Perl code
itself instead of the javascript the Perl script should be generating.

I tried setting the value for "executable" first to /usr/bin/perl and
then to just perl and this resulted in tomcat generating an exception
and not being able to start and complaints from my club members that
they couldn't get to the site while all that was going on. (Figures..
when I'm working on the site, they try to access it just then.)

What disturbs me slightly is I did a search for the
servlets-ssi.rename-to-jar or even servlets-ssi.jar file from the top
level in Geronimo and did not find it.  Should I be worried about that
or is that deprecated?



- --

Peter L. Berghold     http://www.berghold.net   peter@berghold.net
Unix Professional     Dog Agility Fan   Crazed Cook
"Those who fail to learn from history are condemned to repeat it."
-----BEGIN PGP SIGNATURE-----
Version: GnuPG v1.4.5 (GNU/Linux)
Comment: Using GnuPG with Mozilla - http://enigmail.mozdev.org

iD8DBQFIejnsUM9/01RIhaARAnuEAJ47iE+uiVFuxpdU5VZNmTiPZC3lUgCfW45w
99rago/vefnBwZ3Zypf4ZDs=
=Xtna
-----END PGP SIGNATURE-----

Mime
View raw message