how to force apache-2.x to redirect all traffic to port 443?

Chong Yu Meng chongym
Mon May 17 11:56:48 PDT 2004


Got a URL you could try : http://forums.devshed.com/t77214/s.html

Or you may want to try Google: 
http://www.google.com/search?hl=en&lr=&ie=UTF-8&oe=UTF-8&q=apache+http+https+redirect&btnG=Google+Search

Net Llama! wrote:

>On Fri, 12 Dec 2003, Tim Wunder wrote:
>  
>
>>Can't you specify the port that mod_ssl listens to? Can you make that
>>port 80?
>>    
>>
>
>I guess, but I was hoping to just have the traffic redirect so the sake of
>simplicity.
>
>  
>
>>Have you read:
>>http://httpd.apache.org/docs-2.0/ssl/ssl_faq.html#parallel
>>    
>>
>
>Nope, i'll do that now.  thanks.
>
>  
>
>>On 12/12/2003 12:50 PM, I believe that Net Llama! wrote:
>>
>>    
>>
>>>I thought of that, but unfortunately, this is a somewhat funky setup that
>>>is using Tomcat, with mod_jk in Apache-2.x.  So there really isn't a
>>>docroot where I can plunk down the index.html.  Or i just don't understand
>>>tomcat well enough.  At any rate, what's the other 10% of the issue?
>>>
>>>On Fri, 12 Dec 2003, Aaron Grewell wrote:
>>>
>>>
>>>      
>>>
>>>>The way we usually do it is to create an index.html page in the unsecured
>>>>document root that does a 'meta refresh' to the secure document root.  That
>>>>takes care of 90% of the issue.
>>>>
>>>>-----Original Message-----
>>>>From: linux-users-bounces at smtp.linux-sxs.org
>>>>[mailto:linux-users-bounces at smtp.linux-sxs.org] On Behalf Of Net Llama!
>>>>Sent: Friday, December 12, 2003 8:44 AM
>>>>To: linux-users at linux-sxs.org
>>>>Subject: how to force apache-2.x to redirect all traffic to port 443?
>>>>
>>>>
>>>>Anyone know how to force apache-2.x to redirect all port 80 traffic to port
>>>>443?
>>>>
>>>>
>>>>        
>>>>
>>>      
>>>
>>_______________________________________________
>>Linux-users mailing list
>>Linux-users at smtp.linux-sxs.org
>>Unsubscribe/Suspend/Etc -> http://smtp.linux-sxs.org/mailman/listinfo/linux-users
>>
>>    
>>
>
>  
>




More information about the Linux-users mailing list