From d39da3f07036b22892ffb0b05737e8ba7e1ff954 Mon Sep 17 00:00:00 2001 From: Ralph Amissah Date: Fri, 28 Jan 2022 10:38:10 -0500 Subject: config & sqlite search output, some changes --- views/configuration.txt | 38 +++++++++++++++++++------------------- views/configuration_example.txt | 38 +++++++++++++++++++------------------- 2 files changed, 38 insertions(+), 38 deletions(-) (limited to 'views') diff --git a/views/configuration.txt b/views/configuration.txt index 8d35668..ab26992 100644 --- a/views/configuration.txt +++ b/views/configuration.txt @@ -1,22 +1,22 @@ struct Cfg { - string www_http = "http"; - string www_host = "localhost"; - string www_url_doc_root = "http://localhost"; - string www_doc_root = "/srv/www/spine"; - string www_host_doc_root = "localhost"; - string cgi_bin_root = "/var/www/cgi/cgi-bin"; - string cgi_bin_subpath = ""; - string cgi_filename = "spine_search"; - string cgi_url_root = "http://localhost/"; - string cgi_port = ""; - string cgi_user = ""; - string cgi_url_action = "http://localhost/spine_search"; - string cgi_search_form_title = "≅ SiSU Spine search"; - string db_sqlite_path = "/var/www/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"; + string http_request_type = "http"; + string http_host = "localhost"; + string www_url_doc_root = "http://localhost"; + string www_url_doc_subroot = "/spine"; + string processing_path_doc_root = "/srv/www/spine"; + string cgi_bin_root = "/var/www/cgi/cgi-bin"; + string cgi_bin_subpath = "/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_search_form_title = "≅ SiSU Spine search"; + string db_sqlite_path = "/var/www/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_example.txt b/views/configuration_example.txt index 02154de..203d56d 100644 --- a/views/configuration_example.txt +++ b/views/configuration_example.txt @@ -1,23 +1,23 @@ /+ obt - org-mode generated file +/ struct Cfg { - string www_http = "http"; - string www_host = "localhost"; - string www_url_doc_root = "http://localhost"; - string www_doc_root = "/srv/www/spine"; - string www_host_doc_root = "localhost"; - string cgi_bin_root = "/var/www/cgi/cgi-bin"; - string cgi_bin_subpath = "/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_search_form_title = "≅ SiSU Spine search"; - string db_sqlite_path = "/var/www/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"; + string http_request_type = "http"; + string http_host = "localhost"; + string www_url_doc_root = "http://localhost"; + string www_url_doc_subroot = "/spine"; + string processing_path_doc_root = "/srv/www/spine"; + string cgi_bin_root = "/var/www/cgi/cgi-bin"; + string cgi_bin_subpath = "/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_search_form_title = "≅ SiSU Spine search"; + string db_sqlite_path = "/var/www/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(); -- cgit v1.2.3