TOMCAT IIS and html
Hi Can I safely assume that When tomcat is configured with IIS that IIS will always serv anything but JSP's and Servlets? Even when HTML files etc lie within Tomcat contexts? Thanks Dom
Re: TOMCAT IIS and html
It will serve every thing ( all files) within your app context not just jsp and servlet -Dan - - Original Message - From: Dominic Parry [EMAIL PROTECTED] To: Tomcat Users List [EMAIL PROTECTED] Sent: Monday, June 09, 2003 12:10 AM Subject: TOMCAT IIS and html Hi Can I safely assume that When tomcat is configured with IIS that IIS will always serv anything but JSP's and Servlets? Even when HTML files etc lie within Tomcat contexts? Thanks Dom - To unsubscribe, e-mail: [EMAIL PROTECTED] For additional commands, e-mail: [EMAIL PROTECTED]
Re: TOMCAT IIS and html
Tomcat will or IIS will? Thanks Dom - Original Message - From: Dan Tran To: Tomcat Users List Sent: Monday, June 09, 2003 9:53 AM Subject: Re: TOMCAT IIS and html It will serve every thing ( all files) within your app context not just jsp and servlet -Dan - - Original Message - From: Dominic Parry [EMAIL PROTECTED] To: Tomcat Users List [EMAIL PROTECTED] Sent: Monday, June 09, 2003 12:10 AM Subject: TOMCAT IIS and html Hi Can I safely assume that When tomcat is configured with IIS that IIS will always serv anything but JSP's and Servlets? Even when HTML files etc lie within Tomcat contexts? Thanks Dom - To unsubscribe, e-mail: [EMAIL PROTECTED] For additional commands, e-mail: [EMAIL PROTECTED]
Re: TOMCAT IIS and html
TOMCAT, IIS just do the forwarding _D - Original Message - From: Dominic Parry [EMAIL PROTECTED] To: Tomcat Users List [EMAIL PROTECTED] Sent: Monday, June 09, 2003 12:59 AM Subject: Re: TOMCAT IIS and html Tomcat will or IIS will? Thanks Dom - Original Message - From: Dan Tran To: Tomcat Users List Sent: Monday, June 09, 2003 9:53 AM Subject: Re: TOMCAT IIS and html It will serve every thing ( all files) within your app context not just jsp and servlet -Dan - - Original Message - From: Dominic Parry [EMAIL PROTECTED] To: Tomcat Users List [EMAIL PROTECTED] Sent: Monday, June 09, 2003 12:10 AM Subject: TOMCAT IIS and html Hi Can I safely assume that When tomcat is configured with IIS that IIS will always serv anything but JSP's and Servlets? Even when HTML files etc lie within Tomcat contexts? Thanks Dom - To unsubscribe, e-mail: [EMAIL PROTECTED] For additional commands, e-mail: [EMAIL PROTECTED] - To unsubscribe, e-mail: [EMAIL PROTECTED] For additional commands, e-mail: [EMAIL PROTECTED]
RE: TOMCAT IIS and html
Hi Dom, It depends how you have configured your connector. If you have set up your workers.properties or workers2.properties file to forward /examples/*.jsp to Tomcat then Tomcat will only see JSP file requests and all the HTML or GIF etc requests will be handled by IIS. If however you put /examples/* in the file then IIS will forward all and every request on to Tomcat for processing and IIS won't handle anything in that directory. David Legg -Original Message- From: Dominic Parry [mailto:[EMAIL PROTECTED] Sent: 09 June 2003 08:11 To: Tomcat Users List Subject: TOMCAT IIS and html Hi Can I safely assume that When tomcat is configured with IIS that IIS will always serv anything but JSP's and Servlets? Even when HTML files etc lie within Tomcat contexts? Thanks Dom - To unsubscribe, e-mail: [EMAIL PROTECTED] For additional commands, e-mail: [EMAIL PROTECTED]
Re: TOMCAT IIS and html
Thanks David Ok. So is there a way to exclude certain extensions. *.html *.jpg, etc. Dom - Original Message - From: David Legg [EMAIL PROTECTED] To: 'Tomcat Users List' [EMAIL PROTECTED] Sent: Monday, June 09, 2003 11:30 AM Subject: RE: TOMCAT IIS and html Hi Dom, It depends how you have configured your connector. If you have set up your workers.properties or workers2.properties file to forward /examples/*.jsp to Tomcat then Tomcat will only see JSP file requests and all the HTML or GIF etc requests will be handled by IIS. If however you put /examples/* in the file then IIS will forward all and every request on to Tomcat for processing and IIS won't handle anything in that directory. David Legg -Original Message- From: Dominic Parry [mailto:[EMAIL PROTECTED] Sent: 09 June 2003 08:11 To: Tomcat Users List Subject: TOMCAT IIS and html Hi Can I safely assume that When tomcat is configured with IIS that IIS will always serv anything but JSP's and Servlets? Even when HTML files etc lie within Tomcat contexts? Thanks Dom - To unsubscribe, e-mail: [EMAIL PROTECTED] For additional commands, e-mail: [EMAIL PROTECTED] - To unsubscribe, e-mail: [EMAIL PROTECTED] For additional commands, e-mail: [EMAIL PROTECTED]
RE: TOMCAT IIS and html
Ok. So is there a way to exclude certain extensions. *.html *.jpg, etc. As far as I know there is no way to selectively exclude file extensions. All you can do is selectively include which file types should be passed on to Tomcat. Usually that is not a problem because you either want IIS to handle everything except JSP files for speed reasons or you want Tomcat to handle ALL files because that context is part of a secure realm. David Legg - To unsubscribe, e-mail: [EMAIL PROTECTED] For additional commands, e-mail: [EMAIL PROTECTED]
Re: TOMCAT IIS and html
You don't exclude, you include. Only send Tomcat the extensions you want it to handle. The rest will not be sent to Tomcat. Typically, that means *.jsp, and servlets, which are typically in their own folder, so /servlet/* or whatever you call it. John On Mon, 9 Jun 2003 11:46:07 +0200, Dominic Parry [EMAIL PROTECTED] wrote: Thanks David Ok. So is there a way to exclude certain extensions. *.html *.jpg, etc. Dom - Original Message - From: David Legg [EMAIL PROTECTED] To: 'Tomcat Users List' [EMAIL PROTECTED] Sent: Monday, June 09, 2003 11:30 AM Subject: RE: TOMCAT IIS and html Hi Dom, It depends how you have configured your connector. If you have set up your workers.properties or workers2.properties file to forward /examples/*.jsp to Tomcat then Tomcat will only see JSP file requests and all the HTML or GIF etc requests will be handled by IIS. If however you put /examples/* in the file then IIS will forward all and every request on to Tomcat for processing and IIS won't handle anything in that directory. David Legg -Original Message- From: Dominic Parry [mailto:[EMAIL PROTECTED] Sent: 09 June 2003 08:11 To: Tomcat Users List Subject: TOMCAT IIS and html Hi Can I safely assume that When tomcat is configured with IIS that IIS will always serv anything but JSP's and Servlets? Even when HTML files etc lie within Tomcat contexts? Thanks Dom - To unsubscribe, e-mail: [EMAIL PROTECTED] For additional commands, e-mail: [EMAIL PROTECTED] - To unsubscribe, e-mail: [EMAIL PROTECTED] For additional commands, e-mail: [EMAIL PROTECTED] -- Using M2, Opera's revolutionary e-mail client: http://www.opera.com/m2/ - To unsubscribe, e-mail: [EMAIL PROTECTED] For additional commands, e-mail: [EMAIL PROTECTED]