httpd.xml 1.5 KB

1234567891011121314151617181920212223
  1. <?xml version="1.0" encoding="UTF-8"?>
  2. <!DOCTYPE ZHIQIM-CONFIG PUBLIC "-//ZHIQIM //DTD Zhiqim-Config Configuration 1.5.0//EN" "http://zhiqim.org/xmldtds/zhiqim_config_1_5_0.dtd">
  3. <zhiqim-config>
  4. <group id="httpd" desc="HTTP服务">
  5. <item key="context" value="httpd.root" type="protected" desc="HTTP服务下包括的上下文环境,多个用逗号隔开" />
  6. <item key="scheme" value="HTTP" type="protected" desc="HTTP或HTTPS协议" />
  7. <item key="port" value="8999" type="protected" desc="监听端口" />
  8. <item key="io" value="NIO" type="protected" desc="可选,IO方式,AIO|BIO|NIO,默认NIO" />
  9. <item key="minPoolSize" value="20" type="protected" desc="HTTP处理线程池最小值" />
  10. <item key="maxPoolSize" value="500" type="protected" desc="HTTP处理线程池最大值" />
  11. </group>
  12. <group id="httpd.root" desc="HTTP根上下文环境">
  13. <item key="path" value="/admin" type="protected" desc="必须,上下文环境路径" />
  14. <item key="resourceType" value="directory" type="protected" desc="资源目录类型classpath|directory" />
  15. <item key="resourcePath" value="./resource" type="protected" desc="资源目录" />
  16. <item key="welcomeUrl" value="/index.htm" type="protected" desc="欢迎页" />
  17. <item key="zmr.orm" value="orm" type="protected" desc="管理台对应的数据库映射" />
  18. <item key="zmr.orm.opr" value="orm" type="protected" desc="管理台对应的操作员与组织数据库映射,用于共享" />
  19. </group>
  20. </zhiqim-config>