blob: 9e66a7f03ab1ccc8d87f169a0f207f697fa89bbe (
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
38
39
40
41
42
43
44
45
46
|
<?xml version="1.0"?>
<application id="test">
<modules>
<module id="request" />
<module id="response" />
<module id="cache" type="System.Modules.TSqliteCache"
DbFile="protected/cache.db" />
<module id="error">
<case id="exception" handler="processException" />
<default handler="processHttpError" />
</module>
</modules>
<services default="page">
<service id="page" RootPath="protected/pages">
<modules>
<module id="template" type="System.Modules.TTemplateManager" />
<module id="session" type="System.Modules.TSession" />
</modules>
<pages default="home">
<page id="home" type="HomePage" />
<page id="about" type="AboutPage" />
</pages>
<location path="users">
<security>
<allow page="register,login" />
<deny page="profile" user="?" />
<allow page="admin" role="admin" />
<deny page="admin" />
</security>
<pages>
<page id="register" type="RegisterPage" />
<page id="login" type="LoginPage" />
<page id="admin" type="AdminPage" />
<page id="profile" type="ProfilePage" />
</pages>
</location>
<parameters>
</parameters>
</service>
<service id="asset" type="System.Services.TAssetService" />
</services>
<parameters>
<parameter id="AdminEmail">qiang.xue@gmail.com</parameter>
<parameter id="NetShow" type="Demo.NetShow" Host="localhost" />
</parameters>
</application>
|