Tuesday, 27 January 2015

Apache redirect to HTTPS


Apache redirect to HTTPS from any port / or host


RewriteEngine on
ReWriteCond %{SERVER_PORT} !^443$
RewriteRule ^/(.*) https://%{HTTP_HOST}/$1 [NC,R,L] 

#bearMan

No comments:

Post a Comment