Jacob Rhoden wrote:
Christopher Schultz wrote:
-----BEGIN PGP SIGNED MESSAGE-----
Hash: SHA1
Jacob,
Jacob Rhoden wrote:
Hi, Has anyone here ever had to use a cgi-bin directory to try and
connect to tomcat? ie, some script that when run under cgi-bin,
connects and forwards the info to tomcat?
Ugh. This sounds miserable. ;)
I cant find much on it, but it would be really handy. (Have a web
server that i cant install a connector in!).
Do you mean that you can't install something like mod_jk? Or, that you
can't use a Tomcat <connector> with a port number?
You might be able to use proxying (possibly?) already available in your
web server to simply proxy requests to an HTTP connector running in
Tomcat. I think this would be cleaner than a cgi-bin->Tomcat hack.
What is your environment? Perhaps we can come up with a better solution.
Its a system where we have no permission on any files except user home
directories and the cgi-bin directory. So we can run tomcat as a
non-unprivileged user on a high port, but we need the ability to allow
files to be served through the apache web server on port 80.
So it has to be something we can install in the cgi-bin directory. In
the past we have had a perl script to simply make a connection to an app
server and pass the data through.
There is a very large set of Perl scripts (that have grown to the point
where its inefficient and unmanageable) that I would like to start
rationalizing/organizing into a simpler Java app.
Sorry to be so negative, but I'd suggest getting a new webserver then:
1) hosting is cheap, 2) you can configure the server to do what you
really need it to do.
There's little point in trying to force a cgi environment to forward
requests into Tomcat, if your server doesn't support it.
It's a false economy if you spend more than the equivalent hosting cost
in your time trying to resolve this - not a really a good idea at all.
p
Best Regards,
Jacob
---------------------------------------------------------------------
To start a new topic, e-mail: users@tomcat.apache.org
To unsubscribe, e-mail: [EMAIL PROTECTED]
For additional commands, e-mail: [EMAIL PROTECTED]