tomcat-users mailing list archives

Site index · List index
Message view « Date » · « Thread »
Top « Date » · « Thread »
From "Brelsfoard, Alex" <al...@WPI.EDU>
Subject RE: Trouble getting CGI script to execute
Date Wed, 09 Feb 2005 15:02:04 GMT
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 CGI abilities and then install
Apache and just limit the heck out of it.
Here is the CGI bits from the web.xml config file:




Alex Brelsfoard
Web Applications Developer
Web Development Office
Worcester Polytechnic Institute

-----Original Message-----
From: Mark Thomas [] 
Sent: Tuesday, February 08, 2005 6:41 PM
To: Tomcat Users List
Subject: Re: Trouble getting CGI script to execute

Brelsfoard, Alex wrote:
>>OK. I should have spotted this from your last post. Your context path 
> be path="/myapp" NOT path="myapp"
> Yeah, you're right.  Oops. Thanks.

1 problem down. n to go...

>>Script should be:
> Good, this is where I put it originally.
> OK tried it.... Still asking me if I want to download the script.... Poop.

This really bothers me. Since the cgi script is in the WEB-INF directory you
should not be able to access it. I hope this is a config error but if I were
you I would have some security concerns right now.

Can you post the cgi parts of your web.xml as well please. I assume that has
been modified too.

Can you also check that ${CATALINA_HOME}/webapps/ROOT does not contain a
directory called myapp. If it does - delete it.


To unsubscribe, e-mail:
For additional commands, e-mail:

To unsubscribe, e-mail:
For additional commands, e-mail:

View raw message