Having invested in this secure certificate (not a lot of money, but some, and also some time to get everything configured right), I figure we ought to make sure people are using them. Especially on our Webmail login page where they’re transmitting their passwords.
So anyway, I just need to add a few lines in the httpd-vhosts.conf file within the “Directory” Section as follows:
RewriteEngine On
RewriteCond %{HTTPS} off
RewriteRule (.*) https://mail.omniweb.com%{REQUEST_URI}
Restart Apache and there it is – any requests on http://mail.omniweb.com will automatically go right over to https://mail.omniweb.com and hence be encrypted in transit.
Good stuff.
-
Recent Posts
- aws cli error: AWSHTTPSConnection object Failed to establish a new connection: [Errno -2] Name or service not known’,))
- VSFtpd: Errors with new users (on Ubuntu)
- Centos: No package libssl-dev available
- Best ETH pool March 2018? Mining Pool Hub vs Nanopool vs Ethermine
- error while loading shared libraries: libcudart.so.9.1: cannot open shared object file: No such file or directory
Recent Comments
Archives
- April 2019
- March 2019
- November 2018
- March 2018
- February 2018
- January 2018
- December 2017
- August 2017
- June 2017
- March 2017
- June 2016
- August 2015
- July 2015
- May 2015
- April 2015
- January 2015
- December 2014
- November 2014
- October 2014
- September 2014
- August 2014
- July 2014
- June 2014
- April 2014
- March 2014
- February 2014
- January 2014
- December 2013
- November 2013
- October 2013
- September 2013
- August 2013
- July 2013
- June 2013
- May 2013
- April 2013
- March 2013
- February 2013
- January 2013
- November 2012
- October 2012
- September 2012
- August 2012
- July 2012
- June 2012
- May 2012
- April 2012
- March 2012
- February 2012
- January 2012
- December 2011
- November 2011
- October 2011
- September 2011
- August 2011
- June 2011
- May 2011
- March 2011
- February 2011
- January 2011
- December 2010
- November 2010
- October 2010
Categories
Meta
-
Recent Posts
- aws cli error: AWSHTTPSConnection object Failed to establish a new connection: [Errno -2] Name or service not known’,))
- VSFtpd: Errors with new users (on Ubuntu)
- Centos: No package libssl-dev available
- Best ETH pool March 2018? Mining Pool Hub vs Nanopool vs Ethermine
- error while loading shared libraries: libcudart.so.9.1: cannot open shared object file: No such file or directory
Recent Comments
Archives
- April 2019
- March 2019
- November 2018
- March 2018
- February 2018
- January 2018
- December 2017
- August 2017
- June 2017
- March 2017
- June 2016
- August 2015
- July 2015
- May 2015
- April 2015
- January 2015
- December 2014
- November 2014
- October 2014
- September 2014
- August 2014
- July 2014
- June 2014
- April 2014
- March 2014
- February 2014
- January 2014
- December 2013
- November 2013
- October 2013
- September 2013
- August 2013
- July 2013
- June 2013
- May 2013
- April 2013
- March 2013
- February 2013
- January 2013
- November 2012
- October 2012
- September 2012
- August 2012
- July 2012
- June 2012
- May 2012
- April 2012
- March 2012
- February 2012
- January 2012
- December 2011
- November 2011
- October 2011
- September 2011
- August 2011
- June 2011
- May 2011
- March 2011
- February 2011
- January 2011
- December 2010
- November 2010
- October 2010
Categories
Meta
1 Response to Forward HTTP to HTTPS