summaryrefslogtreecommitdiff
path: root/app/php/url/config.xml
blob: bbba13c669948ef9db1817803772ecad857a14c5 (plain)
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
<?xml version="1.0" encoding="utf-8"?>
<configuration>
  <modules>
    <module id="url"
            class="Application.url.UrlManager"
            UrlPrefix="/"
            EnableCustomUrl="True">
      <url ServiceParameter="Home"
           UrlFormat="HiddenPath"
           pattern="{month}/{year}/"
           parameters.month="\d{2}"
           parameters.year="\d{4}" />
      <url ServiceParameter="Home"
           UrlFormat="HiddenPath"
           pattern="{month}/"
           parameters.month="\d{2}" />
      <url ServiceParameter="Home"
           UrlFormat="HiddenPath"
           EnableCustomUrl="false"
           pattern="" />
      <url ServiceParameter="*"
           UrlFormat="HiddenPath"
           EnableCustomUrl="false"
           pattern="{*}" />
    </module>

    <module id="request"
            class="THttpRequest"
            UrlFormat="HiddenPath"
            UrlParamSeparator="/"
            UrlManager="url" />
    <module id="response"
            class="THttpResponse"
            CacheControl="public"
            CacheExpire="10" />
  </modules>
</configuration>