theitd icon

Enforce HTTPS / SSL

theitd | PRO | 03/28/17 06:37:47 PM UTC | 0 ⭐ | 12894 👁️ | Never ⏰ | []
Apache Log |

0 B

|

None

|

0 👍

/

0 👎

# Enforce HTTPS and use non-www
# This checks to make sure the connection is not already HTTPS
RewriteCond %{SERVER_PORT}  !^443$
RewriteRule ^/?(.*) https://%{SERVER_NAME}/$1 [R,L]

Comments

  •  icon
    01/01/70 12:00:00 AM UTC
    Plain Text |

    0 B

    |

    👍

    /

    👎

    
        
  •  icon
    01/01/70 12:00:00 AM UTC
    Plain Text |

    0 B

    |

    👍

    /

    👎