forked from intgr/https-everywhere
Commit
This commit does not belong to any branch on this repository, and may belong to a fork outside of the repository.
- Loading branch information
MB
committed
Apr 29, 2012
1 parent
cad1632
commit e672185
Showing
1 changed file
with
26 additions
and
0 deletions.
There are no files selected for viewing
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -0,0 +1,26 @@ | ||
<ruleset name="Network Solutions"> | ||
|
||
<target host="networksolutions.com" /> | ||
<target host="*.networksolutions.com" /> | ||
|
||
|
||
<securecookie host="^www\.networksolutions\.com$" name=".*" /> | ||
|
||
|
||
<!-- Cert doesn't match !www. --> | ||
<rule from="^http://(?:www\.)?networksolutions\.com(:443)?/" | ||
to="https://www.networksolutions.com$1/" /> | ||
|
||
<rule from="^http://about\.networksolutions\.com/" | ||
to="https://about.networksolutions.com/" /> | ||
|
||
<!-- amp doesn't work over https. | ||
Redirects as so, sans-https. --> | ||
<rule from="^https?://amp\.networksolutions\.com/$" | ||
to="https://www.networksolutions.com/" /> | ||
|
||
<!-- Ditto. --> | ||
<rule from="^https?://amp\.networksolutions\.com/landing\?code=(\w+)$" | ||
to="https://www.networksolutions.com/affiliates/select-unknown.jsp?siteid=100&channelid=$1" /> | ||
|
||
</ruleset> |