how do i redirect web trafic from port 80 to 443
Ow Mun Heng
ow.mun.heng at wdc.com
Mon Jan 5 09:47:26 UTC 2004
> -----Original Message-----
> From: Rodolfo J. Paiz [mailto:rpaiz at simpaticus.com]
> Sent: Monday, January 05, 2004 3:10 PM
> To: fedora-list at redhat.com
> Subject: Re: how do i redirect web trafic from port 80 to 443
> After a long search and lots of trial and error, I managed to get the
> following to work reliably for me:
>
> RewriteEngine on
> RewriteCond %{SERVER_PORT} !^443$
> RewriteRule ^/(.*) https://%{SERVER_NAME}/$1 [L,R,NC]
What's [L,R,NC] for??
I tried that as well. Didn't work for me. Is it cause it's not able to
connect to the SSL port?
I tried https://my.ipaddress.com and it was a "Doc Not Found" error.
More information about the fedora-list
mailing list