<?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" BasePath="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>