From 24269204508d8cf8f963eb9c7d149d18840e4dad Mon Sep 17 00:00:00 2001 From: Ralph Amissah Date: Thu, 12 Aug 2021 13:14:49 -0400 Subject: config, clean up and make a bit more consistent - check version settings with: rg -A2 _version_set$ org --- views/configuration.txt | 16 ++++++++-------- views/configuration_suggested.txt | 16 ++++++++-------- 2 files changed, 16 insertions(+), 16 deletions(-) (limited to 'views') diff --git a/views/configuration.txt b/views/configuration.txt index cc949fc..f7e2f5f 100644 --- a/views/configuration.txt +++ b/views/configuration.txt @@ -1,18 +1,18 @@ 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_host = "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 www_doc_root = "/srv/www/spine/static"; + 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_title = "≅ SiSU Spine search"; - string db_sqlite_path = "/var/www/sqlite/"; + 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"; diff --git a/views/configuration_suggested.txt b/views/configuration_suggested.txt index 1b38620..4b109e7 100644 --- a/views/configuration_suggested.txt +++ b/views/configuration_suggested.txt @@ -1,19 +1,19 @@ /+ 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_host = "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 www_doc_root = "/srv/www/spine/static"; + 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_title = "≅ SiSU Spine search"; - string db_sqlite_path = "/var/www/sqlite/"; + 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"; -- cgit v1.2.3