Re: Enabling CGI/Perl in Tomcat 5.5.9

2005-08-17 Thread Mark Thomas
I haven't tested any of this, I am working entirely from memory and the documentation. I think you have a security problem. As your system is configured a request for http://foo.bar.com/3gflex/3gcgi/somedir/myscript.cgi will look for the script at /usr/prod/3gflex/somedir/myscript.cgi but a

Re: Enabling CGI

2005-02-11 Thread Richard Russell
The CGI programs themselves. http://jakarta.apache.org/tomcat/tomcat-4.1-doc/cgi-howto.html says: cgiPathPrefix - The CGI search path will start at the web application root directory + File.separator + this prefix. The default cgiPathPrefix is /WEB-INF/cgi Does that help? Richard Russell

RE: Enabling CGI

2005-02-11 Thread Kelly, Steve
Subject: Re: Enabling CGI The CGI programs themselves. http://jakarta.apache.org/tomcat/tomcat-4.1-doc/cgi-howto.html says: cgiPathPrefix - The CGI search path will start at the web application root directory + File.separator + this prefix. The default cgiPathPrefix is /WEB-INF/cgi Does

RE: Enabling CGI

2005-02-11 Thread Richard Russell
To: Tomcat Users List tomcat-user@jakarta.apache.org cc: Subject:RE: Enabling CGI Hi Richard, So that's my cgi programs. So if my cgi programs are in tomcat.base.dir/webapps/mywebapp/misc/stuff/cgi then I set the parameter to /misc/stuff/cgi ? Steve -Original

RE: Enabling CGI

2005-02-11 Thread Kelly, Steve
Subject: RE: Enabling CGI Don't know -- never done it. However, that's how I'd interpret it. Richard Russell Deutsche Bank AG London Global Markets Customer Solutions Office: +44 20 7545 8060 Mobile: +44 79 0661 2237 Kelly, Steve [EMAIL PROTECTED] 02/11/2005 11:26 AM Please respond to Tomcat

Re: Enabling CGI

2005-02-11 Thread David Smith
are in tomcat.base.dir/webapps/mywebapp/misc/stuff/cgi then I set the parameter to /misc/stuff/cgi ? Steve -Original Message- From: Richard Russell [mailto:[EMAIL PROTECTED] Sent: 11 February 2005 11:10 To: Tomcat Users List Subject: Re: Enabling CGI The CGI programs themselves. http

RE: Enabling CGI

2005-02-11 Thread Brelsfoard, Alex
Worcester Polytechnic Institute 508-831-6147 [EMAIL PROTECTED] From: Kelly, Steve [mailto:[EMAIL PROTECTED] Sent: Fri 2/11/2005 7:28 AM To: Tomcat Users List Subject: RE: Enabling CGI I tried that and I can't get it to work. It just displays the cgi code

RE: Enabling CGI

2005-02-11 Thread Kelly, Steve
Development Office Worcester Polytechnic Institute 508-831-6147 [EMAIL PROTECTED] From: Kelly, Steve [mailto:[EMAIL PROTECTED] Sent: Fri 2/11/2005 7:28 AM To: Tomcat Users List Subject: RE: Enabling CGI I tried that and I can't get it to work. It just displays the cgi

RE: Enabling CGI

2005-02-11 Thread Kelly, Steve
Hi David, I followed that but to no avail. Steve. -Original Message- From: David Smith [mailto:[EMAIL PROTECTED] Sent: 11 February 2005 12:34 To: Tomcat Users List Subject: Re: Enabling CGI Hi Steve. Having just done this myself to help someone else, yes. There's a comment block

Re: Enabling CGI

2005-02-11 Thread Hassan Schroeder
Kelly, Steve wrote: Has anyone out there got CGI scripts running from a tomcat webapp. If so, I'll carry on my investigations. If not, I might just give up ! Yes. I'm baffled by the apparent problems with this. Since I needed to update a dev server anyway, I /just now/: 1) downloaded and

Re: Enabling CGI

2005-02-11 Thread David Smith
followed that but to no avail. Steve. -Original Message- From: David Smith [mailto:[EMAIL PROTECTED] Sent: 11 February 2005 12:34 To: Tomcat Users List Subject: Re: Enabling CGI Hi Steve. Having just done this myself to help someone else, yes. There's a comment block in the global web.xml file

Re: Enabling CGI

2005-02-11 Thread David Smith
My only addition is take a look at the logs. The CGI servlet is set by default to a log level of 6 which shows a lot of diagnostic info. I found it very useful when I set mine up as a test last night. --David Hassan Schroeder wrote: Kelly, Steve wrote: Has anyone out there got CGI scripts

RE: Enabling CGI

2005-02-11 Thread Kelly, Steve
Users List Subject: Re: Enabling CGI Kelly, Steve wrote: Has anyone out there got CGI scripts running from a tomcat webapp. If so, I'll carry on my investigations. If not, I might just give up ! Yes. I'm baffled by the apparent problems with this. Since I needed to update a dev server anyway, I