Redirect your visitors to SSL webpage!
apache·@luciancovaci·
0.000 HBDRedirect your visitors to SSL webpage!
<img src="https://steemitimages.com/0x0/https://steemitimages.com/DQmeUopNdPZ89XRjXQXocdDUhD25mqTFrEkE5ShdEtmnyYZ/free-ssl.png" alt="free-ssl.png" /> After we've been able to get a <a href="https://steemit.com/linux/@luciancovaci/how-can-you-get-a-free-ssl-certificate-for-your-site" target="_blank">free SSL certificate</a> for our page now, we need to redirect to the SSL page. <a href="http://httpd.apache.org/docs/2.4/rewrite/avoid.html" target="_blank">According to Apache</a>, the best way is to avoid using <a href="http://httpd.apache.org/docs/current/mod/mod_rewrite.html"><code>mod_rewrite</code></a> ! Example: <pre>< VirtualHost *:80 > ServerName webmail.biotree.tk Redirect "/" "https://webmail.biotree.tk/" < /VirtualHost > < VirtualHost *:443 > ServerName webmail.biotree.tk # ... SSL configuration goes here < /VirtualHost > </pre> I think this is the easiest way to redirect SSL from a non-SSL page.<br /><center><hr/><em>Posted from my blog with <a href='https://wordpress.org/plugins/steempress/'>SteemPress</a> : http://blog.ceae.info/redirect-your-visitors-to-ssl-webpage/</em><hr/></center>