The only issue I can see that he will have is the path in web.xml with CGIServlet. I have to move all cgi scripts to a directory under my ${catalina_home}/webapps/${host}
-----Original Message----- From: Mike Curwen [mailto:[EMAIL PROTECTED] Sent: October 28, 2004 10:33 AM To: 'Tomcat Users List' Subject: RE: Servlet gateway to legacy cgi application Maybe it's too obvious to say ... but does the cgi servlet (that comes with Tomcat) fit your needs ? http://jakarta.apache.org/tomcat/tomcat-5.0-doc/cgi-howto.html > -----Original Message----- > From: Shawn Church [mailto:[EMAIL PROTECTED] > Sent: Wednesday, October 27, 2004 9:58 PM > To: [EMAIL PROTECTED] > Subject: Servlet gateway to legacy cgi application > > > I am planning to migrate an old cgi (actually iSeries/AS/400 > Net.DATA) application to Java, but in the meantime I would > like to create a servlet-based gateway to the application, so > that all requests are filtered through this gateway prior to > being forwarded to the cgi application. Likewise, all > responses should flow back through the servlet. > > I would also like to use Apache as the web server. I have no > problem integrating Apache and Tomcat, but I'm not sure of > the best method of sitting in front of the cgi app. > > I am needing to do this to integrate security with other Java > apps (running on other servers), and it would be convenient > if I could develop a "gateway" app to filter requests to the > cgi application. > > I would appreciate some pointers on how to approach this. I > would prefer to handle this in my own custom servlet, but if > there is something already built into Tomcat I would like to > know about it. > > Thanks, > Shawn > --------------------------------------------------------------------- To unsubscribe, e-mail: [EMAIL PROTECTED] For additional commands, e-mail: [EMAIL PROTECTED] !DSPAM:4181030a319441307757648!