routes.ini
1.5 KB
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
43
44
45
46
47
;/service
routes.service2.type = "regex"
routes.service2.match = "#/service/([\S]*)/([\S]*)#"
routes.service2.route.module = Default
routes.service2.route.controller = Service
routes.service2.route.action = Index
routes.service2.map.1 = method_name
routes.service2.map.2 = class_name
routes.service.type = "regex"
routes.service.match = "#/service/v([0-9]+)/([\S]*)/([\S]*)#"
routes.service.route.module = Default
routes.service.route.controller = Service
routes.service.route.action = Index
routes.service.map.1 = version
routes.service.map.2 = method_name
routes.service.map.3 = class_name
routes.signout.type = "rewrite"
routes.signout.match = "/(signout/|signout|signout.html)$"
routes.signout.route.module = Default
routes.signout.route.controller = Signout
routes.signout.route.action = index
;/api
routes.api.type = "regex"
routes.api.match = "#/api/v([0-9]+)/([\w]*)/([.\w]*)#"
routes.api.route.module = Default
routes.api.route.controller = Api
routes.api.route.action = Index
routes.api.map.1 = version
routes.api.map.2 = method_name
routes.api.map.3 = class_name
;notfound
routes.notfound.type = "rewrite"
routes.notfound.match = "/(error/notfound|notfound/|notfound|notfound.html|404.html)$"
routes.notfound.route.module = Default
routes.notfound.route.controller = Error
routes.notfound.route.action = notfound
routes.signin.type = "rewrite"
routes.signin.match = "/(index/signin|signin/|signin|signin.html)$"
routes.signin.route.module = Default
routes.signin.route.controller = Index
routes.signin.route.action = Signin