index file should never be with beginning /... and rename startup message
This commit is contained in:
parent
8e335d7da1
commit
78a0c42f9e
1 changed files with 2 additions and 2 deletions
|
@ -65,7 +65,7 @@ lhs_web::set_config(lhs_web::#conf_HTTPS_Key_Pass, "")
|
||||||
lhs_web::set_config(lhs_web::#conf_HTTPS_Binding, "0.0.0.0")
|
lhs_web::set_config(lhs_web::#conf_HTTPS_Binding, "0.0.0.0")
|
||||||
lhs_web::set_config(lhs_web::#conf_HTTPS_Port, "8446")
|
lhs_web::set_config(lhs_web::#conf_HTTPS_Port, "8446")
|
||||||
lhs_web::set_config(lhs_web::#conf_HTTPS_Enable, "1")
|
lhs_web::set_config(lhs_web::#conf_HTTPS_Enable, "1")
|
||||||
lhs_web::set_config(lhs_web::#conf_defaultfile, "/index.html")
|
lhs_web::set_config(lhs_web::#conf_defaultfile, "index.html")
|
||||||
lhs_web::set_config(lhs_web::#conf_basedir, "/home/renlin/testweb/")
|
lhs_web::set_config(lhs_web::#conf_basedir, "/home/renlin/testweb/")
|
||||||
lhs_web::set_config(lhs_web::#conf_error400, "integrated")
|
lhs_web::set_config(lhs_web::#conf_error400, "integrated")
|
||||||
lhs_web::set_config(lhs_web::#conf_max_HTTP_clients, "100")
|
lhs_web::set_config(lhs_web::#conf_max_HTTP_clients, "100")
|
||||||
|
@ -193,7 +193,7 @@ EndIf
|
||||||
|
|
||||||
counter = 0
|
counter = 0
|
||||||
OpenConsole("Test")
|
OpenConsole("Test")
|
||||||
PrintN("Webserver")
|
PrintN("Server_Sample and tests")
|
||||||
PrintN("HTTP an Port:"+lhs_web::get_config(lhs_web::#conf_HTTP_port))
|
PrintN("HTTP an Port:"+lhs_web::get_config(lhs_web::#conf_HTTP_port))
|
||||||
PrintN("HTTPS an Port:"+lhs_web::get_config(lhs_web::#conf_HTTPS_Port))
|
PrintN("HTTPS an Port:"+lhs_web::get_config(lhs_web::#conf_HTTPS_Port))
|
||||||
PrintN("Press Enter to Exit")
|
PrintN("Press Enter to Exit")
|
||||||
|
|
Loading…
Reference in a new issue