diff --git a/cfg/default_http_config.xml b/cfg/default_http_config.xml new file mode 100644 index 0000000..c9e49ad --- /dev/null +++ b/cfg/default_http_config.xml @@ -0,0 +1,35 @@ + + + + + + + + cfg/default_http_status_codes.xml + file + + + cfg/server/ + dir + + + + + 0 + + + + + + + + + 0 + 0 + + 0 + 0 + V0.9 + LiHaSo Webserver V0.9 + 0 + diff --git a/cfg/default_http_status_codes.xml b/cfg/default_http_status_codes.xml new file mode 100644 index 0000000..b269b38 --- /dev/null +++ b/cfg/default_http_status_codes.xml @@ -0,0 +1,94 @@ + + + + + 400 + integrated +
400 Bad Request
+ 400 Bad Request + + + 1 + +
+ + 403 + integrated +
403 Forbidden
+ 403 Forbidden + + + 1 + +
+ + 404 + integrated +
404 Not Found
+ 404 Not Found + + + 1 + +
+ + 303 + +
303 See Other
+ + + + 0 + +
+ + 200 + +
200 Ok
+ + + + 0 + +
+ + 500 + integrated +
500 Internal Server Error
+ 500 Internal Server Error + + + 1 + +
+ + 501 + integrated +
501 Not Implemented
+ 501 Not Implemented + + + 1 + +
+ + 502 + integrated +
502 Bad Gateway
+ 502 Bad Gateway + + + 1 + +
+ + 503 + integrated +
503 Service Unavailable
+ 503 Service Unavailable + + + 1 + +
+
diff --git a/cfg/hosts/default_host.xml b/cfg/hosts/default_host.xml new file mode 100644 index 0000000..7a3be1a --- /dev/null +++ b/cfg/hosts/default_host.xml @@ -0,0 +1,49 @@ + + + + Default Server + + 0 + 8080 + 127.0.0.1 + 10 + 0 + 0 + + + 0 + 8443 + 127.0.0.1 + 100 + 0 + fullchain.pem + cert.pem + privkey.pem + + 0 + + + + 1 + 0 + 0 + + + + /var/log/lhttpd/default_debug.log + 0 + /var/log/lhttpd/default_access.log + + /var/log/lhttpd/default_error.log + + /var/log/lhttpd/default_cache.log + + + + 524288 + 65536 + + index.html + /srv/lweb-srv/ + + diff --git a/cfg/hosts/default_host.xml_ b/cfg/hosts/default_host.xml_ new file mode 100644 index 0000000..7a3be1a --- /dev/null +++ b/cfg/hosts/default_host.xml_ @@ -0,0 +1,49 @@ + + + + Default Server + + 0 + 8080 + 127.0.0.1 + 10 + 0 + 0 + + + 0 + 8443 + 127.0.0.1 + 100 + 0 + fullchain.pem + cert.pem + privkey.pem + + 0 + + + + 1 + 0 + 0 + + + + /var/log/lhttpd/default_debug.log + 0 + /var/log/lhttpd/default_access.log + + /var/log/lhttpd/default_error.log + + /var/log/lhttpd/default_cache.log + + + + 524288 + 65536 + + index.html + /srv/lweb-srv/ + + diff --git a/cfg/hosts/sample.xml b/cfg/hosts/sample.xml new file mode 100644 index 0000000..51d7374 --- /dev/null +++ b/cfg/hosts/sample.xml @@ -0,0 +1,43 @@ + + + + Sample Server + + 1 + 8084 + 0.0.0.0 + 100 + 0 + + + 1 + 8446 + 0.0.0.0 + 100 + 0 + fullchain.pem + cert.pem + privkey.pem + + + + + 1 + 0 + 0 + + + default_debug.log + 0 + default_access.log + default_error.log + default_cache.log + + + 524288 + 65536 + + index.html + /home/renlin/testweb/ + + diff --git a/cfg/hosts/sample.xml_ b/cfg/hosts/sample.xml_ new file mode 100644 index 0000000..51d7374 --- /dev/null +++ b/cfg/hosts/sample.xml_ @@ -0,0 +1,43 @@ + + + + Sample Server + + 1 + 8084 + 0.0.0.0 + 100 + 0 + + + 1 + 8446 + 0.0.0.0 + 100 + 0 + fullchain.pem + cert.pem + privkey.pem + + + + + 1 + 0 + 0 + + + default_debug.log + 0 + default_access.log + default_error.log + default_cache.log + + + 524288 + 65536 + + index.html + /home/renlin/testweb/ + + diff --git a/default_http_status_codes.xml b/default_http_status_codes.xml new file mode 100644 index 0000000..ae9fc8f --- /dev/null +++ b/default_http_status_codes.xml @@ -0,0 +1,95 @@ + + + + + 400 + integrated +
400 Bad Request
+ 400 Bad Request + + + 1 + +
+ + 403 + integrated +
403 Forbidden
+ 403 Forbidden + + + 1 + +
+ + 404 + integrated +
404 Not Found
+ 404 Not Found + + + 1 + +
+ + 303 + +
303 See Other
+ + + + 0 + +
+ + 200 + +
200 Ok
+ + + + 0 + +
+ + 500 + integrated +
500 Internal Server Error
+ 500 Internal Server Error + + + 1 + +
+ + 501 + integrated +
501 Not Implemented
+ 501 Not Implemented + + + 1 + +
+ + 502 + integrated +
502 Bad Gateway
+ 502 Bad Gateway + + + 1 + +
+ + 503 + integrated +
503 Service Unavailable
+ 503 Service Unavailable + + + 1 + +
+
+