|
| 1 | +<!-- |
| 2 | + Different HTTP/HTTPS content: |
| 3 | + - docs.showapi.com |
| 4 | + (http://docs.showapi.com/jdk7/index.html) |
| 5 | +
|
| 6 | + Refused: |
| 7 | + - wap.showapi.com |
| 8 | +
|
| 9 | +--> |
| 10 | +<ruleset name="showapi.com"> |
| 11 | + <target host="showapi.com" /> |
| 12 | + <target host="www.showapi.com" /> |
| 13 | + <target host="admin.showapi.com" /> |
| 14 | + <target host="api.showapi.com" /> |
| 15 | + <target host="appimg.showapi.com" /> |
| 16 | + <target host="image.showapi.com" /> |
| 17 | + <target host="img.showapi.com" /> |
| 18 | + <target host="manager.showapi.com" /> |
| 19 | + <target host="mng.showapi.com" /> |
| 20 | + <target host="page.showapi.com" /> |
| 21 | + <target host="route.showapi.com" /> |
| 22 | + <target host="static.showapi.com" /> |
| 23 | + <test url="http://static.showapi.com/static/weather/" /> |
| 24 | + <target host="test.showapi.com" /> |
| 25 | + <target host="upload.showapi.com" /> |
| 26 | + |
| 27 | + <!-- MCB --> |
| 28 | + <target host="bbs.showapi.com" /> |
| 29 | + <rule from="^http://bbs\.showapi\.com/(archiver|data|source|static)/" to="https://bbs.showapi.com/$1/" /> |
| 30 | + <test url="http://bbs.showapi.com/archiver/" /> |
| 31 | + <test url="http://bbs.showapi.com/data/cache/forum.js" /> |
| 32 | + <test url="http://bbs.showapi.com/source/" /> |
| 33 | + <test url="http://bbs.showapi.com/static/image/common/chart.png" /> |
| 34 | + <!-- This exception disables the implicit test created by the target. --> |
| 35 | + <exclusion pattern="^http://bbs\.showapi\.com/$" /> |
| 36 | + |
| 37 | + <rule from="^http://(www\.|admin\.|api\.|appimg\.|image\.|img\.|manager\.|mng\.|page\.|route\.|static\.|test\.|upload\.)?showapi\.com/" |
| 38 | + to="https://$1showapi.com/" /> |
| 39 | + |
| 40 | +</ruleset> |
0 commit comments