Clicked too fast. There is more to come... ----- Original Message ----- From: "Parsons Technical Services" <[EMAIL PROTECTED]> To: "Tomcat Users List" <[EMAIL PROTECTED]> Sent: Monday, March 29, 2004 1:19 AM Subject: Re: Configuring Tomcat on different IP's
> Uma, > > I think this will do what you want. > > For each connector defined, one for http and one for https use the address > attribute to specify the IP to listen on. > > So in the https connector use address="192.68.xxx.xx1" and Tomcat will > listen on 192.68.xxx.xx1 for only https request. > > On the http connector use address="192.68.xxx.xx2" and Tomcat will listen > only for http request on 192.68.xxx.xx2 . > > Remember this affect all applications running on this instance of Tomcat. > > See this for details: > > http://jakarta.apache.org/tomcat/tomcat-5.0-doc/config/http.html > > Doug > > > ----- Original Message ----- > From: <[EMAIL PROTECTED]> > To: "Tomcat Users List" <[EMAIL PROTECTED]> > Sent: Sunday, March 28, 2004 11:58 PM > Subject: Re: Configuring Tomcat on different IP's > > > > > > > > > > > > Doug, > > Thanks for the reply. It is just for security reasons out network > > administrator has planned to do. So, I need to configure as such. I have > > made the settings in the code to see if the user is using http or https > and > > block the user from using http. > > > > But there should be some way of doing this, right? > > > > Thank you, > > Best Regards, > > Uma > > > > > > > > > > "Parsons > > Technical > > Services" To > > <parsonstechnical > > @earthlink.net> "Tomcat Users List" > > <[EMAIL PROTECTED]> > > 03/29/2004 11:23 cc > > AM > > > > > > Please respond to > > "Tomcat Users > > List" Subject > > <[EMAIL PROTECTED] Re: Configuring Tomcat on different > > rta.apache.org> IP's > > > > > > > > > > > > > > > > > > > > > > Uma, > > > > First don't take this wrong but I got to ask Why? > > > > Someone with more knowledge will have to chime in to say if this can be > > done. But if the goal is to send all request for http://www.mysite.com to > > https://www.mysite.com then Tomcat can do this for you. And without two > > IPs. > > For details see; > > http://marc.theaimsgroup.com/?l=tomcat-user&m=104951559722619&w=2 > > > > If you have some special reason for the two IPs then, never mind.... > > > > Doug > > www.parsonstechnical.com > > > > > > ----- Original Message ----- > > From: <[EMAIL PROTECTED]> > > To: <[EMAIL PROTECTED]> > > Sent: Sunday, March 28, 2004 11:23 PM > > Subject: Configuring Tomcat on different IP's > > > > > > > > > > > > > > > > > > > Hi, > > > My Tomcat 5.0.19 configuration is typical. I have got 2 IP addresses > > > (202.200.xxx.xx1 and 202.200.xxx.xx2) which are pointing to 2 internal > IP > > > addresses (192.68.xxx.xx1 and 192.68.xxx.xx2) > > > > > > I have registered one domain name (www.mysite.com). The entire site > > should > > > work only on https:// > > > > > > I need to configure this domain in such a way that the first IP address > > > (202.200.xxx.xx1) will have only one page(dummy jsp page that will fwd > to > > > https home page of the site) and this IP address will accept only 80 > > port. > > > > > > The second IP address (202.200.xxx.xx2) will server only 443 requests. > > And > > > the pages that are accessed in https should not be accessed by http > > > protocol. > > > > > > I understand that I need to create 2 contexts and place the dummy jsp > > page > > > in one context and the rest of the files in the 2nd context. > > > > > > But how do I configure that the first context should work only on 80 and > > > the second context should work only on 443 port? > > > > > > Any help would be great. > > > > > > Thanks > > > Uma > > > > > > > > > --------------------------------------------------------------------- > > > 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] > > > > > > > > > > > > --------------------------------------------------------------------- > > 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] > > --------------------------------------------------------------------- To unsubscribe, e-mail: [EMAIL PROTECTED] For additional commands, e-mail: [EMAIL PROTECTED]
