diff options
author | Ralph Amissah <ralph.amissah@gmail.com> | 2021-08-08 16:26:07 -0400 |
---|---|---|
committer | Ralph Amissah <ralph.amissah@gmail.com> | 2021-08-09 15:07:07 -0400 |
commit | b5210686ca0910fcc5077384217eeb51116416c1 (patch) | |
tree | b84b0aee9040638b42f33c19d37dd644b27cb25b /sundry/spine_search_cgi/views | |
parent | nix help files, .envrc_local_ (& nix_notes_.org) (diff) |
spine_search (work on)
Diffstat (limited to 'sundry/spine_search_cgi/views')
-rw-r--r-- | sundry/spine_search_cgi/views/configuration.txt | 15 | ||||
-rw-r--r-- | sundry/spine_search_cgi/views/configuration_suggested.txt | 15 |
2 files changed, 20 insertions, 10 deletions
diff --git a/sundry/spine_search_cgi/views/configuration.txt b/sundry/spine_search_cgi/views/configuration.txt index 36470d1..bd3c7ad 100644 --- a/sundry/spine_search_cgi/views/configuration.txt +++ b/sundry/spine_search_cgi/views/configuration.txt @@ -1,8 +1,13 @@ struct Cfg { - string doc_root_www = "/srv/www/spine/static"; - string doc_root_cgi = "/var/www/cgi/cgi-bin/"; - string doc_root_db = "/srv/www/spine/static/sqlite/"; - string filename_cgi = "spine_search"; - string filename_db = "spine.search.db"; + string http_request_type = "http"; + string http_host = "localhost"; + string doc_root_www = "/srv/www/spine/static"; + string doc_root_cgi = "/var/www/cgi/cgi-bin/"; + string doc_root_db = "/srv/www/spine/static/sqlite/"; + string host_cgi_subpath = "/cgi-bin"; + // string subpath_cgi = "/cgi-bin/"; + string filename_cgi = "spine_search"; + string cgi_script_filename_with_any_subpath = "/cgi-bin/spine_search"; + string filename_db = "spine.search.db"; } enum _cfg = Cfg(); diff --git a/sundry/spine_search_cgi/views/configuration_suggested.txt b/sundry/spine_search_cgi/views/configuration_suggested.txt index b737bf0..028cfc9 100644 --- a/sundry/spine_search_cgi/views/configuration_suggested.txt +++ b/sundry/spine_search_cgi/views/configuration_suggested.txt @@ -1,9 +1,14 @@ /+ obt - org-mode generated file +/ struct Cfg { - string doc_root_www = "/srv/www/spine/static"; - string doc_root_cgi = "/var/www/cgi/cgi-bin/"; - string doc_root_db = "/srv/www/spine/static/sqlite/"; - string filename_cgi = "spine_search"; - string filename_db = "spine.search.db"; + string http_request_type = "http"; + string http_host = "localhost"; + string doc_root_www = "/srv/www/spine/static"; + string doc_root_cgi = "/var/www/cgi/cgi-bin/"; + string doc_root_db = "/srv/www/spine/static/sqlite/"; + string host_cgi_subpath = "/cgi-bin"; + // string subpath_cgi = "/cgi-bin/"; + string filename_cgi = "spine_search"; + string cgi_script_filename_with_any_subpath = "/cgi-bin/spine_search"; + string filename_db = "spine.search.db"; } enum _cfg = Cfg(); |