|
8 | 8 | - m ² |
9 | 9 |
|
10 | 10 | ¹ 503, valid cert |
11 | | - ² Redirects to ^ |
12 | | -
|
13 | | -
|
14 | | - Fully covered subdomains: |
15 | | -
|
16 | | - - auth |
17 | | - - special |
| 11 | + ² Invalid CN in cert |
18 | 12 |
|
19 | 13 |
|
20 | 14 | Mixed content: |
|
32 | 26 | <ruleset name="Habrahabr.ru (partial)"> |
33 | 27 |
|
34 | 28 | <target host="habrahabr.ru" /> |
35 | | - <target host="*.habrahabr.ru" /> |
| 29 | + <target host="www.habrahabr.ru" /> |
| 30 | + <target host="auth.habrahabr.ru" /> |
36 | 31 | <!-- |
37 | 32 | Redirect to http: |
38 | 33 | --> |
39 | 34 | <!--exclusion pattern="^http://habrahabr\.ru/$" /--> |
40 | 35 | <!-- |
41 | 36 | Exceptions: |
42 | 37 | --> |
43 | | - <exclusion pattern="^http://habrahabr\.ru/(?!auth(?:$|[?/])|common\.css|favicon\.ico|habr\.gif|images/|main\.css|styles/)" /> |
| 38 | + <exclusion pattern="^http://habrahabr\.ru/(?!auth/|favicon\.ico|images/)" /> |
44 | 39 |
|
| 40 | + <test url="http://habrahabr.ru/" /> |
| 41 | + <test url="http://habrahabr.ru/auth/" /> |
| 42 | + <test url="http://habrahabr.ru/favicon.ico" /> |
| 43 | + <test url="http://habrahabr.ru/images/" /> |
45 | 44 |
|
46 | 45 | <!-- Not secured by server: |
47 | 46 | --> |
48 | 47 | <!--securecookie host="^special\.habrahabr\.ru$" name="^captcha$" /--> |
49 | 48 |
|
50 | | - <securecookie host="^special\.habrahabr\.ru$" name=".+" /> |
| 49 | + <!--securecookie host="^special\.habrahabr\.ru$" name=".+" /--> |
51 | 50 |
|
52 | 51 |
|
53 | 52 | <!-- 404s on www: |
54 | 53 | --> |
55 | | - <rule from="^http://www\.habrahabr\.ru/(?=auth(?:$|[?/])|favicon\.ico|images/|styles/)" |
| 54 | + <rule from="^http://www\.habrahabr\.ru/(?=auth/|favicon\.ico|images/)" |
56 | 55 | to="https://habrahabr.ru/" /> |
57 | 56 |
|
58 | | - <rule from="^http://((?:auth|special|www)\.)?habrahabr\.ru/" |
| 57 | + <test url="http://www.habrahabr.ru/auth/" /> |
| 58 | + <test url="http://www.habrahabr.ru/favicon.ico" /> |
| 59 | + <test url="http://www.habrahabr.ru/images/" /> |
| 60 | + |
| 61 | + <rule from="^http://((?:auth|www)\.)?habrahabr\.ru/" |
59 | 62 | to="https://$1habrahabr.ru/" /> |
60 | 63 |
|
61 | 64 | </ruleset> |
0 commit comments