Wireless Army
This is a blog / tips and tricks website for web developers and security researchers.
follow us in feedly


force ssl via htaccess
by admin
 at 2017-05-22 04:08:00.

there are multiple ways to force the ssl, but most will give you different errors. the one with less error on different applications (with my experience) is the fallowing lines
RewriteEngine On
RewriteCond %{SERVER_PORT} 80
RewriteRule ^(.*)$ https://domain.com/$1 [R,L]