about summary refs log tree commit diff
path: root/services/cgit-taz/cgit_idx.patch
diff options
context:
space:
mode:
authorVincent Ambo <tazjin@google.com>2019-12-18T16·22+0000
committerVincent Ambo <tazjin@google.com>2019-12-18T16·22+0000
commit11022c1b88c4546fb000de2e1ac42066f63009d2 (patch)
tree38d763464afa6f030f800edad1c396a7b673e6ef /services/cgit-taz/cgit_idx.patch
parenta40c2474fef27fd0e482f10e95a9ad02dabcb97c (diff)
feat(services/cgit-taz): Check in initial cgit configuration r/180
This is currently just a test to serve examples from my local machine,
nothing more fancy than that.
Diffstat (limited to 'services/cgit-taz/cgit_idx.patch')
-rw-r--r--services/cgit-taz/cgit_idx.patch13
1 files changed, 13 insertions, 0 deletions
diff --git a/services/cgit-taz/cgit_idx.patch b/services/cgit-taz/cgit_idx.patch
new file mode 100644
index 000000000000..67dbc0c7ab80
--- /dev/null
+++ b/services/cgit-taz/cgit_idx.patch
@@ -0,0 +1,13 @@
+diff --git a/config.h b/config.h
+index 65ab1e3..cde470f 100644
+--- a/config.h
++++ b/config.h
+@@ -327,7 +327,7 @@
+ /* CONFIGURE: A list of index filenames to check.  The files are searched
+ ** for in this order.
+ */
+-#define INDEX_NAMES "index.html", "index.htm", "index.xhtml", "index.xht", "Default.htm", "index.cgi"
++#define INDEX_NAMES "cgit.cgi"
+ 
+ /* CONFIGURE: If this is defined then thttpd will automatically generate
+ ** index pages for directories that don't have an explicit index file.