[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
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
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
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
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
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
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
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
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
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
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
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
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
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
[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
: 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
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
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
, 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
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
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
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
: 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
.
--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
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
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
, 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
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
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
29 matches
Mail list logo