new install standards
This commit is contained in:
parent
ab08722bcf
commit
65dd638294
3 changed files with 73 additions and 0 deletions
1
.gitignore
vendored
1
.gitignore
vendored
|
@ -29,6 +29,7 @@ democert
|
|||
*.log
|
||||
# Executables
|
||||
lhttpd
|
||||
lhttpd_install
|
||||
server_example
|
||||
test
|
||||
README
|
||||
|
|
35
cfg/hosts/default.xml
Normal file
35
cfg/hosts/default.xml
Normal file
|
@ -0,0 +1,35 @@
|
|||
<?xml version="1.0" encoding="UTF-16"?>
|
||||
|
||||
<host>
|
||||
<description>Sample Server</description>
|
||||
<http>
|
||||
<enabled>1</enabled>
|
||||
<port>80</port>
|
||||
<binding>0.0.0.0</binding>
|
||||
<max_clients>100</max_clients>
|
||||
<reuse>0</reuse>
|
||||
</http>
|
||||
<https>
|
||||
<enabled>0</enabled>
|
||||
</https>
|
||||
<cache>
|
||||
<time>120</time>
|
||||
<maxsize>1</maxsize>
|
||||
<current>0</current>
|
||||
<enable>0</enable>
|
||||
</cache>
|
||||
<log>
|
||||
<DebuglogFile>/var/log/lhttpd/default_debug.log</DebuglogFile>
|
||||
<Debugdisable>0</Debugdisable>
|
||||
<AccesslogFile>/var/log/lhttpd/default_access.log</AccesslogFile>
|
||||
<ErrorlogFile>/var/log/lhttpd/default_error.log</ErrorlogFile>
|
||||
</log>
|
||||
<mem>
|
||||
<MaxFileSize>524288</MaxFileSize>
|
||||
<DefaultBlockSize>65536</DefaultBlockSize>
|
||||
</mem>
|
||||
<dynamichandler/>
|
||||
<defaultfile>index.html</defaultfile>
|
||||
<basedir>/var/lib/lhttpd/default/</basedir>
|
||||
<status/>
|
||||
</host>
|
37
cfg/lhttpd.xml
Normal file
37
cfg/lhttpd.xml
Normal file
|
@ -0,0 +1,37 @@
|
|||
<?xml version="1.0" encoding="UTF-16"?>
|
||||
|
||||
<server>
|
||||
<hosts/>
|
||||
<status/>
|
||||
<config_file>
|
||||
<element key="status_xml">
|
||||
<name>/etc/lhttpd/default_http_status_codes.xml</name>
|
||||
<type>file</type>
|
||||
<configtype>status_xml</configtype>
|
||||
</element>
|
||||
<element key="host_file">
|
||||
<name>/etc/lhttpd/hosts/default.xml</name>
|
||||
<type>file</type>
|
||||
<configtype>host_file</configtype>
|
||||
</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>256</global_max_cli_threads>
|
||||
<global_max_cli_memory>0</global_max_cli_memory>
|
||||
<version>V0.9</version>
|
||||
<identifikation>LiHaSo lhttpd Webserver</identifikation>
|
||||
<type>0</type>
|
||||
</server>
|
Loading…
Reference in a new issue