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
Hi Llama !
I think mod_rewrite would do it for you. However, I am also, just now,
learning how to use mod_rewrite. This was actually brought up on the
Tomcat mailing list a couple weeks ago. The reason for this funky setup
is to avoid even thornier issues, such as configuring Tomcat to handle
SSL requests instead of Apache, and possibly hiding the application
server (Tomcat) behind a firewall that sits between it and the web server.
Regards,
pascal chong
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