forked from EFForg/https-everywhere
/
National_Geographic.xml
173 lines (122 loc) · 4.66 KB
/
National_Geographic.xml
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
25
26
27
28
29
30
31
32
33
34
35
36
37
38
39
40
41
42
43
44
45
46
47
48
49
50
51
52
53
54
55
56
57
58
59
60
61
62
63
64
65
66
67
68
69
70
71
72
73
74
75
76
77
78
79
80
81
82
83
84
85
86
87
88
89
90
91
92
93
94
95
96
97
98
99
100
101
102
103
104
105
106
107
108
109
110
111
112
113
114
115
116
117
118
119
120
121
122
123
124
125
126
127
128
129
130
131
132
133
134
135
136
137
138
139
140
141
142
143
144
145
146
147
148
149
150
151
152
153
154
155
156
157
158
159
160
161
162
163
164
165
166
167
168
169
170
171
172
173
<!--
Disabled by https-everywhere-checker because:
Fetch error: http://nationalgeographic.com/ => https://www-s.nationalgeographic.com/: (28, 'Operation timed out after 0 milliseconds with 0 out of 0 bytes received')
For problematic rules, see National_Geographic.com-problematic.xml.
CDN buckets:
- nationalgeographic.com.112.2o7.net
- metric.nationalgeographic.com
- nationalgeographic.desk.com
- natgeo.edgeboss.net
- dotcom-media.nationalgeographic.com.edgesuite.net
- a1843.g1.akamai.net
- images.nationalgeographic.com.edgesuite.net
- a1621.g.akamai.net
- kids.nationalgeographic.com.edgesuite.net
- a1966.b.akamai.net
- news.nationalgeographic.com.edgesuite.net
- a1420.g.akamai.net
- t.p.mybuys.com/clients/NATIONALGEOGRAPHIC/
- s7d2.scene7.com/is/image/NationalGeographic/
Nonfunctional subdomains:
- adventureblog *
- digitalnomad *
- greenliving (503, akamai)
- help (redirects to http, desk.com)
- intelligenttravel *
- newswatch
- ngm (504, akamai)
- tvblogs *
* Refused
Problematic domains:
nationalgeographic.com subdomains:
- dotcom-media *
- environment *
- images *
- kids *
- metric (2o7.net)
- news *
- photography *
- travel *
- video *
- yourshot *
- www (redirects to travel, akamai)
- s.ngeo.com *
* Works, akamai
Partially covered subdomains:
- (www.) (→ www-s)
- kids (→ akamai, avoiding user-visible paths)
- news (→ akamai, some paths 404)
- mshop *
- shop *
* Some pages redirect to http
Fully covered subdomains:
- channel
- dotcom-media (→ akamai)
- donate
- genographic
- images (→ akamai)
- media-channel
- media-members
- media-mmdb
- media-yourshot
- members
- metric (→ nationalgeographic-com.112.2o7.net)
- metrics
- mmdb
- natgeotv
- stage.natgeotv
- www-s
Mixed content:
- Images, on news from:
- images *
- avatars.fyre.co *
- zor.fyre.co *
- Ads/web bugs, on news from:
- b.comcardresearch.com *
- loadus.exelator.com *
- cdn.gigya.com *
- www.googleadservices.com *
* Secured by us
-->
<ruleset name="National Geographic (partial)" default_off='failed ruleset test'>
<target host="nationalgeographic.com" />
<target host="*.nationalgeographic.com" />
<!--
Avoid user-visible paths:
-->
<!--exclusion pattern="^http://kids\.nationalgeographic.com/(?!exposure/core_media/|fastfacts/get_json_fact_list/|favicon\.ico|sites/)" /-->
<!--
404 when rewritten:
-->
<!--exclusion pattern="^http://news\.nationalgeographic\.com/(images/|news/ax/|news/images/)" /-->
<!--
Some pages redirect to http:
-->
<!--exclusion pattern="^http://mshop\.nationalgeographic\.com/(?!favicon\.ico|html/|images/|javascript/|ngs/m/myaccount/login\.jsp|omniture/)" /-->
<!--exclusion pattern="^http://shop\.nationalgeographic\.com/(?!css/|favicon\.ico|html/|images/|javascript/|ngs/myaccount/login\.jsp|omniture/|pwr/)" /-->
<exclusion pattern="^http://m?shop\.nationalgeographic\.com/(?!css/|favicon\.ico|html/|images/|javascript/|ngs/(?:m/)?myaccount/login\.jsp|omniture/|pwr/)" />
<!-- Tracking cookies:
-->
<securecookie host="^\.nationalgeographic\.com$" name="^(?:gpv_p\d+|s_\w+|__utm)\w$" />
<securecookie host="^donate\.nationalgeographic\.com$" name=".+" />
<!-- $ is linked to from the footer of channel ("HOME"). Rewriting
$ to www-s saves us from having to use a downgrade rule:
-->
<rule from="^https?://(?:www\.)?nationalgeographic\.com/($|\?|leaderboard/quiz/)"
to="https://www-s.nationalgeographic.com/$1" />
<rule from="^http://(channel|donate|genographic|media-(?:channel|members|mmdb|yourshot)|members|metrics|mmdb|m?shop|(?:stage\.)?natgeotv|www-s)\.nationalgeographic\.com/"
to="https://$1.nationalgeographic.com/" />
<rule from="^http://dotcom-media\.nationalgeographic\.com/"
to="https://a248.e.akamai.net/f/1843/2965/3/dotcom-media.nationalgeographic.com/" />
<!-- All stylesheets appear to link images relative to themselves,
so a blanket rewrite should work properly:
-->
<rule from="^http://images\.nationalgeographic\.com/"
to="https://a248.e.akamai.net/f/1621/2601/6h/images.nationalgeographic.com/" />
<rule from="^http://kids\.nationalgeographic\.com/(?=exposure/core_media/|fastfacts/get_json_fact_list/|favicon\.ico|sites/)"
to="https://a248.e.akamai.net/f/1966/8789/10f/kids.nationalgeographic.com/" />
<rule from="^http://metric\.nationalgeographic\.com/"
to="https://nationalgeographic-com.112.2o7.net/" />
<rule from="^http://news\.nationalgeographic\.com/exposure/core_media/"
to="https://a248.e.akamai.net/f/1420/6828/10/news.nationalgeographic.com/exposure/core_media/" />
</ruleset>