|
48 | 48 | ³ Rule disabled by default |
49 | 49 |
|
50 | 50 | --> |
51 | | -<ruleset name="DailyKos.com (partial)"> |
| 51 | +<ruleset name="DailyKos.com"> |
52 | 52 |
|
53 | 53 | <target host="dailykos.com" /> |
54 | | - <target host="*.dailykos.com" /> |
55 | | - <!-- |
56 | | - Lulz. Many account-related pages 307 to http. |
57 | | -
|
58 | | -
|
59 | | - These paths 307 to http: |
60 | | -
|
61 | | - - $ |
62 | | - - blog$ |
63 | | - - blog/\w+$ |
64 | | - - contactus$ |
65 | | - - diaries$ |
66 | | - - group$ |
67 | | - - group/ |
68 | | - - groups$ |
69 | | - - groups/$ |
70 | | - - news$ |
71 | | - - news/\w[^/]*$ |
72 | | - - newuser$ |
73 | | - - part/user/popup/login$ |
74 | | - - people$ |
75 | | - - people/$ |
76 | | - - special/media$ |
77 | | - - story/\d{4}/\d\d/\d\d/ |
78 | | - - user$ |
79 | | - - user/ |
80 | | -
|
81 | | -
|
82 | | - These paths do not: |
83 | | -
|
84 | | - - accounts$ |
85 | | - - assets/ |
86 | | - - c/ |
87 | | - - donate$ |
88 | | - - favicon.ico |
89 | | - - helpdesk_redirect$ |
90 | | - - i/ |
91 | | - - j/ |
92 | | - - images/ |
93 | | - - login$ |
94 | | - - signup$ |
95 | | - - subscribe$ |
96 | | - - users/password/new$ |
97 | | - - users/sign_in |
98 | | -
|
99 | | -
|
100 | | - - These paths 403: |
101 | | -
|
102 | | - - newthread/\w+ |
103 | | -
|
104 | | - - These paths 404: |
105 | | -
|
106 | | - - jobs$ |
107 | | - - masthead$ |
108 | | - - privacy$ |
109 | | -
|
110 | | - --> |
111 | | - <!--exclusion pattern="^http://(?:www\.)?dailykos\.com/(?:$|\?|blog|contactus|diaries|groups?|jobs|masthead|new(?:s|thread|user)|part/user/popup/login|people|privacy|special|story|user)(?:$|\?|/)" /--> |
112 | | - <exclusion pattern="^http://(?:www\.)?dailykos\.com/+(?!(?:accounts|assets|c|donate|helpdesk_redirect|i|images|login|signup|subscribe|users)(?:$|[?/])|favicon\.ico)" /> |
113 | | - <!-- |
114 | | - 404s. |
115 | | - --> |
116 | | - <!--exclusion pattern="^http://images[12]?\.dailykos\.com/(?:assets|images)/" /--> |
117 | | - <!-- |
118 | | - Exceptions: |
119 | | - --> |
120 | | - <exclusion pattern="^http://images[12]?\.dailykos\.com/+(?!i/|images/)" /> |
121 | | - |
122 | | - |
123 | | - <rule from="^http://(www\.)?dailykos\.com/" |
124 | | - to="https://$1dailykos.com/" /> |
125 | | - |
126 | | - <rule from="^http://assets\.dailykos\.com/" |
127 | | - to="https://www.dailykos.com/assets/" /> |
128 | | - |
129 | | - <!-- At least some pages 404: |
130 | | - --> |
131 | | - <rule from="^http://campaigns\.dailykos\.com/(?=dia/|o/|salsa/)" |
132 | | - to="https://kos.salsalabs.com/" /> |
133 | | - |
134 | | - <rule from="^http://helpdesk\.dailykos\.com/(?=help/|pkg/|stylesheets/)" |
135 | | - to="https://dailykos.tenderapp.com/" /> |
136 | | - |
137 | | - <rule from="^http://images[12]?\.dailykos\.com/(?=images/)" |
138 | | - to="https://s3.amazonaws.com/dk-production/" /> |
139 | | - |
140 | | - <rule from="^http://images[12]?\.dailykos\.com/" |
141 | | - to="https://www.dailykos.com/" /> |
| 54 | + <target host="www.dailykos.com" /> |
| 55 | + <target host="m.dailykos.com" /> |
142 | 56 |
|
| 57 | + <rule from="^http:" |
| 58 | + to="https:" /> |
143 | 59 | </ruleset> |
0 commit comments