This shows you the differences between two versions of the page.
Both sides previous revision Previous revision Next revision | Previous revision | ||
web [2017/02/03 17:41] frank |
web [2017/02/03 17:44] (current) frank |
||
---|---|---|---|
Line 14: | Line 14: | ||
==== Redirect none ssl to ssl, www to none-www ==== | ==== Redirect none ssl to ssl, www to none-www ==== | ||
- | /etc/apache2/sites-available/000-default.conf | + | * http://dengxihe.com -> https://dengxihe.com |
+ | * http://www.dengxihe.com - > https://dengxihe.com | ||
+ | * https://www.dengxihe.com -> https://dengxihe.com | ||
+ | |||
+ | - Add @ and www A records in DNS | ||
+ | - /etc/apache2/sites-available/000-default.conf | ||
<code> | <code> | ||
RewriteEngine on | RewriteEngine on |