diff options
author | Ralph Amissah <ralph.amissah@gmail.com> | 2021-08-01 05:48:15 -0400 |
---|---|---|
committer | Ralph Amissah <ralph.amissah@gmail.com> | 2021-08-06 13:09:08 -0400 |
commit | 9b72621135aad321c421e7464fc4339a2a52e245 (patch) | |
tree | de3696ebbe50b488e326db934da7951c0f60a87e /views | |
parent | spine_search (diff) |
config defaults: cfte, config-file & cle
Diffstat (limited to 'views')
-rw-r--r-- | views/configuration.txt | 22 | ||||
-rw-r--r-- | views/configuration_suggested.txt | 23 |
2 files changed, 45 insertions, 0 deletions
diff --git a/views/configuration.txt b/views/configuration.txt new file mode 100644 index 0000000..226631d --- /dev/null +++ b/views/configuration.txt @@ -0,0 +1,22 @@ +struct Cfg { + string www_http = "http"; + string www_doc_root = "/srv/www/spine/static"; + string www_domain = "localhost"; + string www_domain_doc_root = "localhost"; + string www_url_doc_root = "http://localhost"; + string cgi_bin_root = "/var/www/cgi/cgi-bin/"; + string cgi_bin_part = "cgi-bin"; + string cgi_filename = "spine_search"; + string cgi_url_root = "http://localhost/cgi-bin"; + string cgi_port = ""; + string cgi_user = ""; + string cgi_url_action = "http://localhost/cgi-bin/spine_search"; + string cgi_title = "≅ SiSU Spine search"; + string db_sqlite_doc_root = "/srv/www/spine/static/sqlite/"; + string db_sqlite_filename = "spine.search.db"; + string default_language = "en"; + string default_papersize = "a4"; + string default_text_wrap = "80"; + string default_hash_digest = "sha256"; +} +enum _cfg = Cfg(); diff --git a/views/configuration_suggested.txt b/views/configuration_suggested.txt new file mode 100644 index 0000000..3bdf8b4 --- /dev/null +++ b/views/configuration_suggested.txt @@ -0,0 +1,23 @@ +/+ obt - org-mode generated file +/ +struct Cfg { + string www_http = "http"; + string www_doc_root = "/srv/www/spine/static"; // "/var/www/html" + string www_domain = "localhost"; + string www_domain_doc_root = "localhost"; + string www_url_doc_root = "http://localhost"; + string cgi_bin_root = "/var/www/cgi/cgi-bin/"; // "/usr/lib/cgi-bin" + string cgi_bin_part = "cgi-bin"; + string cgi_filename = "spine_search"; // "spine-search" + string cgi_url_root = "http://localhost/cgi-bin"; + string cgi_port = ""; + string cgi_user = ""; + string cgi_url_action = "http://localhost/cgi-bin/spine_search"; + string cgi_title = "≅ SiSU Spine search"; + string db_sqlite_doc_root = "/srv/www/spine/static/sqlite/"; + string db_sqlite_filename = "spine.search.db"; + string default_language = "en"; + string default_papersize = "a4"; + string default_text_wrap = "80"; + string default_hash_digest = "sha256"; +} +enum _cfg = Cfg(); |