Simplewebserver create ini
This commit is contained in:
parent
a25e1b29ce
commit
5d85e13e50
1 changed files with 18 additions and 0 deletions
18
createini.pb
Normal file
18
createini.pb
Normal file
|
@ -0,0 +1,18 @@
|
|||
CreatePreferences("lhttpd.ini", #PB_Preference_NoSpace | #PB_Preference_GroupSeparator)
|
||||
PreferenceGroup("lhttpd")
|
||||
WritePreferenceString("HTTP_Port","8081")
|
||||
WritePreferenceString("HTTP_Binding","0.0.0.0")
|
||||
WritePreferenceString("HTTPS_CA","/home/renlin/dev/libressl/sample/test_ca.pem")
|
||||
WritePreferenceString("HTTPS_Cert","/home/renlin/dev/libressl/sample/test_server_cert.pem")
|
||||
WritePreferenceString("HTTPS_Key","/home/renlin/dev/libressl/sample/test_server_key.pem")
|
||||
WritePreferenceString("HTTPS_Key_Pass","test-server-pass")
|
||||
WritePreferenceString("HTTPS_Port","8444")
|
||||
WritePreferenceString("HTTPS_Binding","127.0.0.1")
|
||||
WritePreferenceString("HTTPS_enable","0")
|
||||
WritePreferenceString("Defaultfile","/index.html")
|
||||
WritePreferenceString("Basedirectory","/home/renlin/testweb/")
|
||||
WritePreferenceString("Error400_Handling","integrated")
|
||||
WritePreferenceString("MaxClients","100")
|
||||
WritePreferenceString("Filememorycache","0")
|
||||
ClosePreferences()
|
||||
End
|
Loading…
Reference in a new issue