diff options
Diffstat (limited to 'org/config_d_cfte.org')
-rw-r--r-- | org/config_d_cfte.org | 55 |
1 files changed, 30 insertions, 25 deletions
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 = "<<www_http>>"; - string www_host = "<<www_host>>"; - string www_url_doc_root = "<<www_url_doc_root>>"; - string www_doc_root = "<<www_doc_root>>"; - string www_host_doc_root = "localhost"; - string cgi_bin_root = "<<cgi_bin_root>>"; - string cgi_bin_subpath = "<<cgi_bin_subpath>>"; - string cgi_filename = "<<cgi_filename>>"; - string cgi_url_root = "<<www_http>>://<<www_host>><<cgi_bin_subpath>>"; - string cgi_port = ""; - string cgi_user = ""; - string cgi_url_action = "<<www_http>>://<<www_host>><<cgi_bin_subpath>>/<<cgi_filename>>"; - string cgi_search_form_title = "<<cgi_search_form_title>>"; - string db_sqlite_path = "<<db_sqlite_path>>"; - string db_sqlite_filename = "<<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 = "<<http_request_type>>"; + string http_host = "<<http_host>>"; + string www_url_doc_root = "<<www_url_doc_root>>"; + string www_url_doc_subroot = "<<www_url_doc_subroot>>"; + string processing_path_doc_root = "<<processing_path_doc_root>>"; + string cgi_bin_root = "<<cgi_bin_root>>"; + string cgi_bin_subpath = "<<cgi_bin_subpath>>"; + string cgi_filename = "<<cgi_filename>>"; + string cgi_url_root = "<<http_request_type>>://<<http_host>><<cgi_bin_subpath>>"; + string cgi_port = ""; + string cgi_user = ""; + string cgi_url_action = "<<http_request_type>>://<<http_host>><<cgi_bin_subpath>>/<<cgi_filename>>"; + string cgi_search_form_title = "<<cgi_search_form_title>>"; + string db_sqlite_path = "<<db_sqlite_path>>"; + string db_sqlite_filename = "<<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 = "<<www_http>>"; - string http_host = "<<www_host>>"; - string www_doc_subroot = "<<www_doc_subroot>>"; + string http_request_type = "<<http_request_type>>"; + string http_host = "<<http_host>>"; + string www_url_doc_subroot = "<<www_doc_subroot>>"; string cgi_filename = "<<cgi_filename>>"; string cgi_search_form_title = "<<cgi_search_form_title>>"; string db_sqlite_path = "<<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 |