From 95a34e9de9eef195c0b31e513b688a0c3c85e631 Mon Sep 17 00:00:00 2001 From: jwansek Date: Mon, 12 Feb 2024 15:35:42 +0000 Subject: Updated script, switched to cgit --- cgit/httpd-cgit.conf | 32 ++++++++++++++++++++++++++++++++ 1 file changed, 32 insertions(+) create mode 100644 cgit/httpd-cgit.conf (limited to 'cgit/httpd-cgit.conf') diff --git a/cgit/httpd-cgit.conf b/cgit/httpd-cgit.conf new file mode 100644 index 0000000..9cc2153 --- /dev/null +++ b/cgit/httpd-cgit.conf @@ -0,0 +1,32 @@ +ServerName localhost + +# Next two lines changed for new document root +DocumentRoot /srv/git + + AllowOverride None + Options ExecCGI FollowSymLinks + Require all granted + + +# cgid module is required to run the cgit binary +LoadModule cgid_module lib/httpd/modules/mod_cgid.so + + ScriptSock /var/run/cgid.sock + + +# Path to cgit stylesheet, graphics +Alias /cgit-data /usr/share/cgit + + AllowOverride None + Options None + Require all granted + + +# Path to cgit binary +# Next line changed +ScriptAlias / /usr/libexec/cgit/cgi-bin/cgit/ + + AllowOverride None + Options None + Require all granted + -- cgit v1.2.3