You are viewing a plain text version of this content. The canonical link for it is here.
Posted to users@httpd.apache.org by Dave Morrow <da...@autodata.net> on 2005/08/25 23:24:26 UTC

[users@httpd] Redirect Port 80 requests to https

Hi all.  How can I rewrite port 80 to https?  I know I have seen this somewhere, but cannot locate it.	

Basically, if someone comes in to http://www.mydomain.com I want to redirect them to https://www.mydomain.com

David A. Morrow
Technical Systems Lead
Autodata Solutions Company
David.Morrow@Autodata.Net
http://www.autodata.net
Tel: (519) 951-6079
Fax: (519) 451-6615 

< Poor planning on your part does not necessarily constitute an emergency on my part! >

This message has originated from Autodata Solutions. The attached material is the Confidential and Proprietary Information of Autodata Solutions. This email and any files transmitted with it are confidential and intended solely for the use of the individual or entity to whom they are addressed. If you have received this email in error please delete this message and notify the Autodata system administrator at Administrator@autodata.net <ma...@autodata.net>


Re: [users@httpd] Redirect Port 80 requests to https

Posted by Steven Pierce <pa...@speakeasy.net>.

http://www.webmasterworld.com/forum92/4282.htm

http://www.google.com/search?hl=en&lr=&safe=off&as_qdr=all&q=Apache+https+redirect+http+

I did a google search and had 164k come up.

http://mail-archives.apache.org/mod_mbox/httpd-users/200408.mbox/%3CFAB6A3A2CC5BDB448DADFA1C8C0752966CB689@SOMEXEVS001.ex.ordersx.org%3E

This is on Apache's web site in archive.  Basiclly you use a mod_rewrite to do so.

*********** REPLY SEPARATOR ***********

On 8/25/2005 at 5:24 PM Dave Morrow wrote:
Hi all.  How can I rewrite port 80 to https?  I know I have seen this somewhere, but cannot locate it.  
Basically, if someone comes in to http://www.mydomain.com I want to redirect them to https://www.mydomain.com 
David A. Morrow 
Technical Systems Lead 
Autodata Solutions Company 
David.Morrow@Autodata.Net 
http://www.autodata.net 
Tel: (519) 951-6079 
Fax: (519) 451-6615  
< Poor planning on your part does not necessarily constitute an emergency on my part! > 
This message has originated from Autodata Solutions. The attached material is the Confidential and Proprietary Information of Autodata Solutions. This email and any files transmitted with it are confidential and intended solely for the use of the individual or entity to whom they are addressed. If you have received this email in error please delete this message and notify the Autodata system administrator at Administrator@autodata.net <ma...@autodata.net>