RE: Trouble getting CGI script to execute

2005-02-10 Thread Brelsfoard, Alex
[mailto:[EMAIL PROTECTED] Sent: Wed 2/9/2005 6:02 PM To: Tomcat Users List Subject: Re: Trouble getting CGI script to execute I know I'm coming into this very late. I was hoping Mark was going to nail this on the head for you -- especially since I don't actually use the cgi-servlets piece in my

RE: Trouble getting CGI script to execute

2005-02-10 Thread Brelsfoard, Alex
Development Office Worcester Polytechnic Institute 508-831-6147 [EMAIL PROTECTED] From: Warron French [mailto:[EMAIL PROTECTED] Sent: Wed 2/9/2005 6:24 PM To: Tomcat Users List Subject: RE: Trouble getting CGI script to execute Sorry, hopefully I haven't misguided you

Re: Trouble getting CGI script to execute

2005-02-10 Thread David Smith
Web Applications Developer Web Development Office Worcester Polytechnic Institute 508-831-6147 [EMAIL PROTECTED] From: David Smith [mailto:[EMAIL PROTECTED] Sent: Wed 2/9/2005 6:02 PM To: Tomcat Users List Subject: Re: Trouble getting CGI script to execute I know

RE: Trouble getting CGI script to execute

2005-02-10 Thread Brelsfoard, Alex
Web Development Office Worcester Polytechnic Institute 508-831-6147 [EMAIL PROTECTED] From: David Smith [mailto:[EMAIL PROTECTED] Sent: Thu 2/10/2005 9:27 AM To: Tomcat Users List Subject: Re: Trouble getting CGI script to execute Ok. I may try to go through

Re: Trouble getting CGI script to execute

2005-02-10 Thread David Smith
Institute 508-831-6147 [EMAIL PROTECTED] From: David Smith [mailto:[EMAIL PROTECTED] Sent: Thu 2/10/2005 9:27 AM To: Tomcat Users List Subject: Re: Trouble getting CGI script to execute Ok. I may try to go through and try this setup myself to see what happens

RE: Trouble getting CGI script to execute

2005-02-09 Thread Brelsfoard, Alex
Applications Developer Web Development Office Worcester Polytechnic Institute 508-831-6147 [EMAIL PROTECTED] -Original Message- From: Mark Thomas [mailto:[EMAIL PROTECTED] Sent: Tuesday, February 08, 2005 6:41 PM To: Tomcat Users List Subject: Re: Trouble getting CGI script to execute Brelsfoard

Re: Trouble getting CGI script to execute

2005-02-09 Thread Mark Thomas
Brelsfoard, Alex wrote: Luckily this server is dedicated to this one application. And I have everything backed up. Though security is ALWAYS an issue, it's at least less of an issue on this server. If today's attempts do not get this woprking, I am most likely just going to turn off Tomcat's

RE: Trouble getting CGI script to execute

2005-02-09 Thread Brelsfoard, Alex
To: Tomcat Users List Subject: Re: Trouble getting CGI script to execute Brelsfoard, Alex wrote: Luckily this server is dedicated to this one application. And I have everything backed up. Though security is ALWAYS an issue, it's at least less of an issue on this server. If today's attempts do

Re: Trouble getting CGI script to execute

2005-02-09 Thread David Smith
Web Development Office Worcester Polytechnic Institute 508-831-6147 [EMAIL PROTECTED] -Original Message- From: Mark Thomas [mailto:[EMAIL PROTECTED] Sent: Wednesday, February 09, 2005 4:42 PM To: Tomcat Users List Subject: Re: Trouble getting CGI script to execute Brelsfoard, Alex wrote

RE: Trouble getting CGI script to execute

2005-02-09 Thread Warron French
08, 2005 4:00 PM To: Tomcat Users List Subject: RE: Trouble getting CGI script to execute OK, now we're getting somewhere. There was no entry for mime-type for file extension cgi. I added: mime-mapping extensioncgi/extension mime-typeapplication/x-httpd-cgi/mime-type

RE: Trouble getting CGI script to execute

2005-02-08 Thread Warron French
I use apache to enable cgi scripts, and I had the same problem as you. So, since I don't know Tomcat so well, I can offer you this. Check in your config file to make sure that you have the line(s): AddType application/x-httpd-cgi .cgi .sh .pl AddHandler cgi-script .cgi .sh .pl (I am not

RE: Trouble getting CGI script to execute

2005-02-08 Thread Brelsfoard, Alex
PM To: Brelsfoard, Alex Subject: Re: Trouble getting CGI script to execute In a message dated 2/8/2005 3:28:41 PM Eastern Standard Time, [EMAIL PROTECTED] writes: I have been reading all the online documentation I can dig up and cannot find the solution to my problem

Re: Trouble getting CGI script to execute

2005-02-08 Thread Mark Thomas
Exactly where did you put your script? If you follow http://jakarta.apache.org/tomcat/tomcat-5.5-doc/cgi-howto.html and use the defaults it is impossible to see the text of your script. Assuming you only uncommented the global web.xml and did not edit any of the settings, your script should be

RE: Trouble getting CGI script to execute

2005-02-08 Thread Brelsfoard, Alex
Web Development Office Worcester Polytechnic Institute 508-831-6147 [EMAIL PROTECTED] From: [EMAIL PROTECTED] [mailto:[EMAIL PROTECTED] Sent: Tuesday, February 08, 2005 3:52 PM To: Brelsfoard, Alex Subject: Re: Trouble getting CGI script to execute

RE: Trouble getting CGI script to execute

2005-02-08 Thread Brelsfoard, Alex
[mailto:[EMAIL PROTECTED] Sent: Tuesday, February 08, 2005 3:42 PM To: Tomcat Users List Subject: RE: Trouble getting CGI script to execute I use apache to enable cgi scripts, and I had the same problem as you. So, since I don't know Tomcat so well, I can offer you this. Check in your config file

Re: Trouble getting CGI script to execute

2005-02-08 Thread Mark Thomas
: Trouble getting CGI script to execute I use apache to enable cgi scripts, and I had the same problem as you. So, since I don't know Tomcat so well, I can offer you this. Check in your config file to make sure that you have the line(s): AddType application/x-httpd-cgi .cgi .sh .pl AddHandler cgi-script

RE: Trouble getting CGI script to execute

2005-02-08 Thread Brelsfoard, Alex
PROTECTED] Sent: Tuesday, February 08, 2005 3:55 PM To: Tomcat Users List Subject: Re: Trouble getting CGI script to execute Exactly where did you put your script? If you follow http://jakarta.apache.org/tomcat/tomcat-5.5-doc/cgi-howto.html and use the defaults it is impossible to see the text

Re: Trouble getting CGI script to execute

2005-02-08 Thread Mark Thomas
Development Office Worcester Polytechnic Institute 508-831-6147 [EMAIL PROTECTED] -Original Message- From: Mark Thomas [mailto:[EMAIL PROTECTED] Sent: Tuesday, February 08, 2005 3:55 PM To: Tomcat Users List Subject: Re: Trouble getting CGI script to execute Exactly where did you put your script

RE: Trouble getting CGI script to execute

2005-02-08 Thread Brelsfoard, Alex
, February 08, 2005 4:03 PM To: Tomcat Users List Subject: Re: Trouble getting CGI script to execute You are heading in the wrong direction. You don't need to specify a mime-type. (Neither do you need Apache.) You have a simple configuration error. See my previous post. Mark Brelsfoard, Alex wrote: OK

RE: Trouble getting CGI script to execute

2005-02-08 Thread Brelsfoard, Alex
PROTECTED] Sent: Tuesday, February 08, 2005 4:15 PM To: Tomcat Users List Subject: Re: Trouble getting CGI script to execute OK. Making progress. Can you try the following? (all steps included - even the ones you have already done) Once it works we can tweak it to give the configuration you want

RE: Trouble getting CGI script to execute

2005-02-08 Thread Brelsfoard, Alex
getting CGI script to execute OK. Making progress. Can you try the following? (all steps included - even the ones you have already done) Once it works we can tweak it to give the configuration you want. These steps assume a default install. Create a directory $CATALINA_HOME/webapps/myapp/ Create

Re: Trouble getting CGI script to execute

2005-02-08 Thread Mark Thomas
Brelsfoard, Alex wrote: Ok. So I did everything you said. Still not working. I get a 404 error. So I took it step by step to see if I made typos or something. If I go to http://host:port I see the directory listing including myapp This shouldn't happen. This means that myapp is a directory in

RE: Trouble getting CGI script to execute

2005-02-08 Thread Brelsfoard, Alex
: Mark Thomas [mailto:[EMAIL PROTECTED] Sent: Tuesday, February 08, 2005 4:48 PM To: Tomcat Users List Subject: Re: Trouble getting CGI script to execute Brelsfoard, Alex wrote: Ok. So I did everything you said. Still not working. I get a 404 error. So I took it step by step to see if I made

Re: Trouble getting CGI script to execute

2005-02-08 Thread Mark Thomas
. --Alex Alex Brelsfoard Web Applications Developer Web Development Office Worcester Polytechnic Institute 508-831-6147 [EMAIL PROTECTED] -Original Message- From: Mark Thomas [mailto:[EMAIL PROTECTED] Sent: Tuesday, February 08, 2005 4:48 PM To: Tomcat Users List Subject: Re: Trouble getting CGI

RE: Trouble getting CGI script to execute

2005-02-08 Thread Brelsfoard, Alex
Worcester Polytechnic Institute 508-831-6147 [EMAIL PROTECTED] -Original Message- From: Mark Thomas [mailto:[EMAIL PROTECTED] Sent: Tuesday, February 08, 2005 5:19 PM To: Tomcat Users List Subject: Re: Trouble getting CGI script to execute Before I forget, what version of Tomcat? I don't

Re: Trouble getting CGI script to execute

2005-02-08 Thread Mark Thomas
Brelsfoard, Alex wrote: Yes, well this is where things get a little messy. I am using a version of Tomcat installed by a search engine software package called Endeca. They HAVE made some default settings of their own in server.xml. Ah. That explains a few things. I have not been using

RE: Trouble getting CGI script to execute

2005-02-08 Thread Brelsfoard, Alex
, 2005 5:51 PM To: Tomcat Users List Subject: Re: Trouble getting CGI script to execute Brelsfoard, Alex wrote: Yes, well this is where things get a little messy. I am using a version of Tomcat installed by a search engine software package called Endeca. They HAVE made some default settings

RE: Trouble getting CGI script to execute

2005-02-08 Thread Caldarale, Charles R
From: Brelsfoard, Alex [mailto:[EMAIL PROTECTED] Subject: RE: Trouble getting CGI script to execute OK tried it Still asking me if I want to download the script Poop. Would it be possible to try this with a clean install of a known Tomcat download? This would determine

Re: Trouble getting CGI script to execute

2005-02-08 Thread Mark Thomas
Brelsfoard, Alex wrote: OK. I should have spotted this from your last post. Your context path should be path=/myapp NOT path=myapp Yeah, you're right. Oops. Thanks. 1 problem down. n to go... Script should be: /station/endeca/4.5.4/i86pc-linux/webapps/myapp/WEB-INF/cgi/script.cgi Good, this is