|
1 | 1 | <!-- |
2 | | - Expired 2012/11/27 |
3 | | -
|
| 2 | + Redirect to http: |
| 3 | + ^(www.)?dafont.com |
| 4 | +
|
| 5 | + Failed: |
| 6 | + dl.dafont.com |
| 7 | + img.dafont.com |
| 8 | +
|
| 9 | + Mismatch: |
| 10 | + co.dafont.com |
| 11 | + es.dafont.com |
| 12 | + fr.dafont.com |
| 13 | + m.dafont.com |
| 14 | + www1.dafont.com |
4 | 15 | --> |
5 | | -<ruleset name="dafont.com (partial)" default_off="expired"> |
6 | | - |
| 16 | +<ruleset name="Dafont.com (partial)"> |
7 | 17 | <target host="dafont.com" /> |
8 | | - <target host="*.dafont.com" /> |
9 | | - <!-- See comments below. --> |
10 | | - <exclusion pattern="^http://(?:www\.)?dafont\.com/(?:[\w\-]+\.font$|css/|favicon\.ico|forum/(?:$|read/)|img/|theme\.php)" /> |
11 | | - |
12 | | - |
13 | | - <!-- Some pages 404 over https. |
14 | | -
|
15 | | - These do: |
16 | | -
|
17 | | - - forum/read/\d{5}/[\w\-]+ |
18 | | - - e.g. dafont.com/forum/read/49221/can-anyone-identify-this-font |
19 | | - - [\w\-]+.font$ |
20 | | - - e.g. dafont.com/alte-haas-grotesk.font |
21 | | -
|
22 | | -
|
23 | | - This throws an error: |
24 | | -
|
25 | | - - forum/$ |
26 | | -
|
27 | | - Warning: mysql_num_rows(): supplied argument is not a valid MySQL result resource in /home/dafont/www/forum/index.php on line 1494 |
28 | | -
|
29 | | - No message. |
30 | | -
|
31 | | - Nobody loves you :( |
32 | | -
|
33 | | -
|
34 | | - These don't: |
35 | | -
|
36 | | - - $ |
37 | | - - authors.php |
38 | | - - contact.php |
39 | | - - login.php |
40 | | - - faq.php |
41 | | - - forum/attach/ |
42 | | - - new.php |
43 | | - - soft.php |
44 | | - - themes.php |
45 | | - - top.php |
46 | | -
|
47 | | - These redirect to http: |
48 | | -
|
49 | | - - css/ |
50 | | - - favicon.ico |
51 | | - - img/ |
52 | | - - theme.php |
53 | | -
|
54 | | -
|
55 | | - /img. doesn't work over https. |
56 | | -
|
57 | | -
|
58 | | - img.dafont.com → dafont.com |
59 | | - www.dafont.com → www.dafont.com |
60 | | - dafont.com → dafont.com |
| 18 | + <target host="www.dafont.com" /> |
61 | 19 |
|
62 | | - --> |
63 | | - <rule from="^http://(?:img\.|(www\.))?dafont\.com/" |
64 | | - to="https://$1dafont.com/" /> |
| 20 | + <test url="http://dafont.com/img/dafont.png" /> |
| 21 | + <test url="http://dafont.com/img/nof.png" /> |
| 22 | + <test url="http://dafont.com/img/top.gif" /> |
| 23 | + <test url="http://www.dafont.com/img/dafont.png" /> |
| 24 | + <test url="http://www.dafont.com/img/nof.png" /> |
| 25 | + <test url="http://www.dafont.com/img/top.gif" /> |
65 | 26 |
|
66 | | - <!-- See comments above. --> |
67 | | - <rule from="^https://(www\.)?dafont\.com/([\w\-]+\.font$|forum/(?:$|read/))" |
68 | | - to="http://$1dafont.com/$2" downgrade="1" /> |
| 27 | + <exclusion pattern="^http://(www\.)?dafont\.com/$" /> |
69 | 28 |
|
| 29 | + <rule from="^http://(www\.)?dafont\.com/img/" to="https://$1dafont.com/img/" /> |
70 | 30 | </ruleset> |
0 commit comments