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]

Reply via email to