diff --git a/createini.pb b/createini.pb new file mode 100644 index 0000000..e05fc67 --- /dev/null +++ b/createini.pb @@ -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