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 --- org/config_d_cfte.org | 55 ++++++++++++++++++++++++++++----------------------- 1 file changed, 30 insertions(+), 25 deletions(-) (limited to 'org/config_d_cfte.org') diff --git a/org/config_d_cfte.org b/org/config_d_cfte.org index ebc164b..00ba703 100644 --- a/org/config_d_cfte.org +++ b/org/config_d_cfte.org @@ -72,25 +72,25 @@ SEE NOTES on configuration hierarchy in spine.org #+BEGIN_SRC d /+ obt - org-mode generated file +/ struct Cfg { - string www_http = "<>"; - string www_host = "<>"; - string www_url_doc_root = "<>"; - string www_doc_root = "<>"; - string www_host_doc_root = "localhost"; - string cgi_bin_root = "<>"; - string cgi_bin_subpath = "<>"; - string cgi_filename = "<>"; - string cgi_url_root = "<>://<><>"; - string cgi_port = ""; - string cgi_user = ""; - string cgi_url_action = "<>://<><>/<>"; - string cgi_search_form_title = "<>"; - string db_sqlite_path = "<>"; - string db_sqlite_filename = "<>"; - string default_language = "en"; - string default_papersize = "a4"; - string default_text_wrap = "80"; - string default_hash_digest = "sha256"; + string http_request_type = "<>"; + string http_host = "<>"; + string www_url_doc_root = "<>"; + string www_url_doc_subroot = "<>"; + string processing_path_doc_root = "<>"; + string cgi_bin_root = "<>"; + string cgi_bin_subpath = "<>"; + string cgi_filename = "<>"; + string cgi_url_root = "<>://<><>"; + string cgi_port = ""; + string cgi_user = ""; + string cgi_url_action = "<>://<><>/<>"; + string cgi_search_form_title = "<>"; + string db_sqlite_path = "<>"; + string db_sqlite_filename = "<>"; + string default_language = "en"; + string default_papersize = "a4"; + string default_text_wrap = "80"; + string default_hash_digest = "sha256"; } enum _cfg = Cfg(); #+END_SRC @@ -101,9 +101,9 @@ enum _cfg = Cfg(); #+BEGIN_SRC d /+ obt - org-mode generated file +/ struct Cfg { - string http_request_type = "<>"; - string http_host = "<>"; - string www_doc_subroot = "<>"; + string http_request_type = "<>"; + string http_host = "<>"; + string www_url_doc_subroot = "<>"; string cgi_filename = "<>"; string cgi_search_form_title = "<>"; string db_sqlite_path = "<>"; @@ -114,12 +114,12 @@ enum _cfg = Cfg(); *** shared settings SET defaults -#+NAME: www_http +#+NAME: http_request_type #+BEGIN_SRC sh http #+END_SRC -#+NAME: www_host +#+NAME: http_host #+BEGIN_SRC sh localhost #+END_SRC @@ -129,7 +129,12 @@ localhost http://localhost #+END_SRC -#+NAME: www_doc_root +#+NAME: www_url_doc_subroot +#+BEGIN_SRC sh +/spine +#+END_SRC + +#+NAME: processing_path_doc_root #+BEGIN_SRC sh /srv/www/spine #+END_SRC -- cgit v1.2.3