-
Notifications
You must be signed in to change notification settings - Fork 2
/
sample.xml
42 lines (40 loc) · 1.3 KB
/
sample.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
<?xml version="1.0" encoding="utf-8"?>
<conf project="weather-mobile" xscript="weather">
<hosts>
<host tld="ru,ua,by,kz">
<name>m.pogoda</name>
<aliases tld="ru">
<alias>m.weather</alias>
<alias>pda.pogoda</alias>
<alias>wap.pogoda</alias>
<alias>pda.weather</alias>
<alias>wap.weather</alias>
<alias>weather.wap</alias>
<alias>pogoda.wap</alias>
<alias tld="mobi">weather</alias>
<alias tld="mobi">pogoda</alias>
<alias>pogoda.pda</alias>
<alias>weather.pda</alias>
<alias>weather.wap</alias>
<alias>iweather</alias>
</aliases>
</host>
<host>
<name>tel.pogoda</name>
<aliases>
<alias>tel.weather</alias>
</aliases>
</host>
<host tld="com.tr">
<name>m.hava</name>
</host>
</hosts>
<locations>
<location>lego-xml-deny</location>
<location>404-pda-xml</location>
</locations>
<rewrites>
<rewrite regexp="^/([0-9]+)/$">/?city=$1</rewrite>
<rewrite regexp="^/([0-9]+)/\?(.*)$">/?city=$1&$2</rewrite>
</rewrites>
</conf>