Status and Config XML uploaded
This commit is contained in:
parent
5aa5b4b51d
commit
fe6245e6a1
7 changed files with 408 additions and 0 deletions
35
cfg/default_http_config.xml
Normal file
35
cfg/default_http_config.xml
Normal file
|
@ -0,0 +1,35 @@
|
|||
<?xml version="1.0" encoding="UTF-16"?>
|
||||
|
||||
<server>
|
||||
<hosts/>
|
||||
<status/>
|
||||
<config_file>
|
||||
<element key="status_xml">
|
||||
<name>cfg/default_http_status_codes.xml</name>
|
||||
<type>file</type>
|
||||
</element>
|
||||
<element key="hosts_dir">
|
||||
<name>cfg/server/</name>
|
||||
<type>dir</type>
|
||||
</element>
|
||||
</config_file>
|
||||
<log>
|
||||
<DebuglogUUID/>
|
||||
<Debugdisable>0</Debugdisable>
|
||||
<Accesslog/>
|
||||
<AccesslogUUID/>
|
||||
<Errorlog/>
|
||||
<ErrorlogUUID/>
|
||||
<Cachelog/>
|
||||
<CachelogUUID/>
|
||||
</log>
|
||||
<mem>
|
||||
<MaxFileSize>0</MaxFileSize>
|
||||
<DefaultBlockSize>0</DefaultBlockSize>
|
||||
</mem>
|
||||
<global_max_cli_threads>0</global_max_cli_threads>
|
||||
<global_max_cli_memory>0</global_max_cli_memory>
|
||||
<version>V0.9</version>
|
||||
<identifikation>LiHaSo Webserver V0.9</identifikation>
|
||||
<type>0</type>
|
||||
</server>
|
94
cfg/default_http_status_codes.xml
Normal file
94
cfg/default_http_status_codes.xml
Normal file
|
@ -0,0 +1,94 @@
|
|||
<?xml version="1.0" encoding="UTF-16"?>
|
||||
|
||||
<map>
|
||||
<element key="400">
|
||||
<status>400</status>
|
||||
<file>integrated</file>
|
||||
<header>400 Bad Request</header>
|
||||
<message>400 Bad Request</message>
|
||||
<message_body/>
|
||||
<template>1</template>
|
||||
<content>1</content>
|
||||
<head_fields/>
|
||||
</element>
|
||||
<element key="403">
|
||||
<status>403</status>
|
||||
<file>integrated</file>
|
||||
<header>403 Forbidden</header>
|
||||
<message>403 Forbidden</message>
|
||||
<message_body/>
|
||||
<template>1</template>
|
||||
<content>1</content>
|
||||
<head_fields/>
|
||||
</element>
|
||||
<element key="404">
|
||||
<status>404</status>
|
||||
<file>integrated</file>
|
||||
<header>404 Not Found</header>
|
||||
<message>404 Not Found</message>
|
||||
<message_body/>
|
||||
<template>1</template>
|
||||
<content>1</content>
|
||||
<head_fields/>
|
||||
</element>
|
||||
<element key="303">
|
||||
<status>303</status>
|
||||
<file/>
|
||||
<header>303 See Other</header>
|
||||
<message/>
|
||||
<message_body/>
|
||||
<template>0</template>
|
||||
<content>0</content>
|
||||
<head_fields/>
|
||||
</element>
|
||||
<element key="200">
|
||||
<status>200</status>
|
||||
<file/>
|
||||
<header>200 Ok</header>
|
||||
<message/>
|
||||
<message_body/>
|
||||
<template>0</template>
|
||||
<content>0</content>
|
||||
<head_fields/>
|
||||
</element>
|
||||
<element key="500">
|
||||
<status>500</status>
|
||||
<file>integrated</file>
|
||||
<header>500 Internal Server Error</header>
|
||||
<message>500 Internal Server Error</message>
|
||||
<message_body/>
|
||||
<template>1</template>
|
||||
<content>1</content>
|
||||
<head_fields/>
|
||||
</element>
|
||||
<element key="501">
|
||||
<status>501</status>
|
||||
<file>integrated</file>
|
||||
<header>501 Not Implemented</header>
|
||||
<message>501 Not Implemented</message>
|
||||
<message_body/>
|
||||
<template>1</template>
|
||||
<content>1</content>
|
||||
<head_fields/>
|
||||
</element>
|
||||
<element key="502">
|
||||
<status>502</status>
|
||||
<file>integrated</file>
|
||||
<header>502 Bad Gateway</header>
|
||||
<message>502 Bad Gateway</message>
|
||||
<message_body/>
|
||||
<template>1</template>
|
||||
<content>1</content>
|
||||
<head_fields/>
|
||||
</element>
|
||||
<element key="503">
|
||||
<status>503</status>
|
||||
<file>integrated</file>
|
||||
<header>503 Service Unavailable</header>
|
||||
<message>503 Service Unavailable</message>
|
||||
<message_body/>
|
||||
<template>1</template>
|
||||
<content>1</content>
|
||||
<head_fields/>
|
||||
</element>
|
||||
</map>
|
49
cfg/hosts/default_host.xml
Normal file
49
cfg/hosts/default_host.xml
Normal file
|
@ -0,0 +1,49 @@
|
|||
<?xml version="1.0" encoding="UTF-16"?>
|
||||
|
||||
<host>
|
||||
<description>Default Server</description>
|
||||
<http>
|
||||
<enabled>0</enabled>
|
||||
<port>8080</port>
|
||||
<binding>127.0.0.1</binding>
|
||||
<max_clients>10</max_clients>
|
||||
<reuse>0</reuse>
|
||||
<thread_id>0</thread_id>
|
||||
</http>
|
||||
<https>
|
||||
<enabled>0</enabled>
|
||||
<port>8443</port>
|
||||
<binding>127.0.0.1</binding>
|
||||
<max_clients>100</max_clients>
|
||||
<reuse>0</reuse>
|
||||
<CA>fullchain.pem</CA>
|
||||
<Certs>cert.pem</Certs>
|
||||
<key>privkey.pem</key>
|
||||
<key_pass/>
|
||||
<thread_id>0</thread_id>
|
||||
</https>
|
||||
<cache>
|
||||
<time>120</time>
|
||||
<maxsize>1</maxsize>
|
||||
<current>0</current>
|
||||
<enable>0</enable>
|
||||
</cache>
|
||||
<log>
|
||||
<DebuglogUUID/>
|
||||
<DebuglogFile>/var/log/lhttpd/default_debug.log</DebuglogFile>
|
||||
<Debugdisable>0</Debugdisable>
|
||||
<AccesslogFile>/var/log/lhttpd/default_access.log</AccesslogFile>
|
||||
<AccesslogUUID/>
|
||||
<ErrorlogFile>/var/log/lhttpd/default_error.log</ErrorlogFile>
|
||||
<ErrorlogUUID/>
|
||||
<CachelogFile>/var/log/lhttpd/default_cache.log</CachelogFile>
|
||||
<CachelogUUID/>
|
||||
</log>
|
||||
<mem>
|
||||
<MaxFileSize>524288</MaxFileSize>
|
||||
<DefaultBlockSize>65536</DefaultBlockSize>
|
||||
</mem>
|
||||
<defaultfile>index.html</defaultfile>
|
||||
<basedir>/srv/lweb-srv/</basedir>
|
||||
<status/>
|
||||
</host>
|
49
cfg/hosts/default_host.xml_
Normal file
49
cfg/hosts/default_host.xml_
Normal file
|
@ -0,0 +1,49 @@
|
|||
<?xml version="1.0" encoding="UTF-16"?>
|
||||
|
||||
<host>
|
||||
<description>Default Server</description>
|
||||
<http>
|
||||
<enabled>0</enabled>
|
||||
<port>8080</port>
|
||||
<binding>127.0.0.1</binding>
|
||||
<max_clients>10</max_clients>
|
||||
<reuse>0</reuse>
|
||||
<thread_id>0</thread_id>
|
||||
</http>
|
||||
<https>
|
||||
<enabled>0</enabled>
|
||||
<port>8443</port>
|
||||
<binding>127.0.0.1</binding>
|
||||
<max_clients>100</max_clients>
|
||||
<reuse>0</reuse>
|
||||
<CA>fullchain.pem</CA>
|
||||
<Certs>cert.pem</Certs>
|
||||
<key>privkey.pem</key>
|
||||
<key_pass/>
|
||||
<thread_id>0</thread_id>
|
||||
</https>
|
||||
<cache>
|
||||
<time>120</time>
|
||||
<maxsize>1</maxsize>
|
||||
<current>0</current>
|
||||
<enable>0</enable>
|
||||
</cache>
|
||||
<log>
|
||||
<DebuglogUUID/>
|
||||
<DebuglogFile>/var/log/lhttpd/default_debug.log</DebuglogFile>
|
||||
<Debugdisable>0</Debugdisable>
|
||||
<AccesslogFile>/var/log/lhttpd/default_access.log</AccesslogFile>
|
||||
<AccesslogUUID/>
|
||||
<ErrorlogFile>/var/log/lhttpd/default_error.log</ErrorlogFile>
|
||||
<ErrorlogUUID/>
|
||||
<CachelogFile>/var/log/lhttpd/default_cache.log</CachelogFile>
|
||||
<CachelogUUID/>
|
||||
</log>
|
||||
<mem>
|
||||
<MaxFileSize>524288</MaxFileSize>
|
||||
<DefaultBlockSize>65536</DefaultBlockSize>
|
||||
</mem>
|
||||
<defaultfile>index.html</defaultfile>
|
||||
<basedir>/srv/lweb-srv/</basedir>
|
||||
<status/>
|
||||
</host>
|
43
cfg/hosts/sample.xml
Normal file
43
cfg/hosts/sample.xml
Normal file
|
@ -0,0 +1,43 @@
|
|||
<?xml version="1.0" encoding="UTF-16"?>
|
||||
|
||||
<host>
|
||||
<description>Sample Server</description>
|
||||
<http>
|
||||
<enabled>1</enabled>
|
||||
<port>8084</port>
|
||||
<binding>0.0.0.0</binding>
|
||||
<max_clients>100</max_clients>
|
||||
<reuse>0</reuse>
|
||||
</http>
|
||||
<https>
|
||||
<enabled>1</enabled>
|
||||
<port>8446</port>
|
||||
<binding>0.0.0.0</binding>
|
||||
<max_clients>100</max_clients>
|
||||
<reuse>0</reuse>
|
||||
<CA>fullchain.pem</CA>
|
||||
<Certs>cert.pem</Certs>
|
||||
<key>privkey.pem</key>
|
||||
<key_pass/>
|
||||
</https>
|
||||
<cache>
|
||||
<time>120</time>
|
||||
<maxsize>1</maxsize>
|
||||
<current>0</current>
|
||||
<enable>0</enable>
|
||||
</cache>
|
||||
<log>
|
||||
<DebuglogFile>default_debug.log</DebuglogFile>
|
||||
<Debugdisable>0</Debugdisable>
|
||||
<AccesslogFile>default_access.log</AccesslogFile>
|
||||
<ErrorlogFile>default_error.log</ErrorlogFile>
|
||||
<CachelogFile>default_cache.log</CachelogFile>
|
||||
</log>
|
||||
<mem>
|
||||
<MaxFileSize>524288</MaxFileSize>
|
||||
<DefaultBlockSize>65536</DefaultBlockSize>
|
||||
</mem>
|
||||
<defaultfile>index.html</defaultfile>
|
||||
<basedir>/home/renlin/testweb/</basedir>
|
||||
<status/>
|
||||
</host>
|
43
cfg/hosts/sample.xml_
Normal file
43
cfg/hosts/sample.xml_
Normal file
|
@ -0,0 +1,43 @@
|
|||
<?xml version="1.0" encoding="UTF-16"?>
|
||||
|
||||
<host>
|
||||
<description>Sample Server</description>
|
||||
<http>
|
||||
<enabled>1</enabled>
|
||||
<port>8084</port>
|
||||
<binding>0.0.0.0</binding>
|
||||
<max_clients>100</max_clients>
|
||||
<reuse>0</reuse>
|
||||
</http>
|
||||
<https>
|
||||
<enabled>1</enabled>
|
||||
<port>8446</port>
|
||||
<binding>0.0.0.0</binding>
|
||||
<max_clients>100</max_clients>
|
||||
<reuse>0</reuse>
|
||||
<CA>fullchain.pem</CA>
|
||||
<Certs>cert.pem</Certs>
|
||||
<key>privkey.pem</key>
|
||||
<key_pass/>
|
||||
</https>
|
||||
<cache>
|
||||
<time>120</time>
|
||||
<maxsize>1</maxsize>
|
||||
<current>0</current>
|
||||
<enable>0</enable>
|
||||
</cache>
|
||||
<log>
|
||||
<DebuglogFile>default_debug.log</DebuglogFile>
|
||||
<Debugdisable>0</Debugdisable>
|
||||
<AccesslogFile>default_access.log</AccesslogFile>
|
||||
<ErrorlogFile>default_error.log</ErrorlogFile>
|
||||
<CachelogFile>default_cache.log</CachelogFile>
|
||||
</log>
|
||||
<mem>
|
||||
<MaxFileSize>524288</MaxFileSize>
|
||||
<DefaultBlockSize>65536</DefaultBlockSize>
|
||||
</mem>
|
||||
<defaultfile>index.html</defaultfile>
|
||||
<basedir>/home/renlin/testweb/</basedir>
|
||||
<status/>
|
||||
</host>
|
95
default_http_status_codes.xml
Normal file
95
default_http_status_codes.xml
Normal file
|
@ -0,0 +1,95 @@
|
|||
<?xml version="1.0" encoding="UTF-16"?>
|
||||
|
||||
<map>
|
||||
<element key="400">
|
||||
<status>400</status>
|
||||
<file>integrated</file>
|
||||
<header>400 Bad Request</header>
|
||||
<message>400 Bad Request</message>
|
||||
<message_body/>
|
||||
<template>1</template>
|
||||
<content>1</content>
|
||||
<head_fields/>
|
||||
</element>
|
||||
<element key="403">
|
||||
<status>403</status>
|
||||
<file>integrated</file>
|
||||
<header>403 Forbidden</header>
|
||||
<message>403 Forbidden</message>
|
||||
<message_body/>
|
||||
<template>1</template>
|
||||
<content>1</content>
|
||||
<head_fields/>
|
||||
</element>
|
||||
<element key="404">
|
||||
<status>404</status>
|
||||
<file>integrated</file>
|
||||
<header>404 Not Found</header>
|
||||
<message>404 Not Found</message>
|
||||
<message_body/>
|
||||
<template>1</template>
|
||||
<content>1</content>
|
||||
<head_fields/>
|
||||
</element>
|
||||
<element key="303">
|
||||
<status>303</status>
|
||||
<file/>
|
||||
<header>303 See Other</header>
|
||||
<message/>
|
||||
<message_body/>
|
||||
<template>0</template>
|
||||
<content>0</content>
|
||||
<head_fields/>
|
||||
</element>
|
||||
<element key="200">
|
||||
<status>200</status>
|
||||
<file/>
|
||||
<header>200 Ok</header>
|
||||
<message/>
|
||||
<message_body/>
|
||||
<template>0</template>
|
||||
<content>0</content>
|
||||
<head_fields/>
|
||||
</element>
|
||||
<element key="500">
|
||||
<status>500</status>
|
||||
<file>integrated</file>
|
||||
<header>500 Internal Server Error</header>
|
||||
<message>500 Internal Server Error</message>
|
||||
<message_body/>
|
||||
<template>1</template>
|
||||
<content>1</content>
|
||||
<head_fields/>
|
||||
</element>
|
||||
<element key="501">
|
||||
<status>501</status>
|
||||
<file>integrated</file>
|
||||
<header>501 Not Implemented</header>
|
||||
<message>501 Not Implemented</message>
|
||||
<message_body/>
|
||||
<template>1</template>
|
||||
<content>1</content>
|
||||
<head_fields/>
|
||||
</element>
|
||||
<element key="502">
|
||||
<status>502</status>
|
||||
<file>integrated</file>
|
||||
<header>502 Bad Gateway</header>
|
||||
<message>502 Bad Gateway</message>
|
||||
<message_body/>
|
||||
<template>1</template>
|
||||
<content>1</content>
|
||||
<head_fields/>
|
||||
</element>
|
||||
<element key="503">
|
||||
<status>503</status>
|
||||
<file>integrated</file>
|
||||
<header>503 Service Unavailable</header>
|
||||
<message>503 Service Unavailable</message>
|
||||
<message_body/>
|
||||
<template>1</template>
|
||||
<content>1</content>
|
||||
<head_fields/>
|
||||
</element>
|
||||
</map>
|
||||
|
Loading…
Reference in a new issue