diff options
author | jwansek <eddie.atten.ea29@gmail.com> | 2024-02-12 15:35:42 +0000 |
---|---|---|
committer | jwansek <eddie.atten.ea29@gmail.com> | 2024-02-12 15:35:42 +0000 |
commit | 95a34e9de9eef195c0b31e513b688a0c3c85e631 (patch) | |
tree | 4576c66cd857c8c870c5aa032174146012b47129 /cgit/httpd-cgit.conf | |
parent | cd055d0580b5ef704a05815183a0444370d58aa0 (diff) | |
download | git-scripts-95a34e9de9eef195c0b31e513b688a0c3c85e631.tar.gz git-scripts-95a34e9de9eef195c0b31e513b688a0c3c85e631.zip |
Updated script, switched to cgit
Diffstat (limited to 'cgit/httpd-cgit.conf')
-rw-r--r-- | cgit/httpd-cgit.conf | 32 |
1 files changed, 32 insertions, 0 deletions
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 +<Directory "/srv/git"> + AllowOverride None + Options ExecCGI FollowSymLinks + Require all granted +</Directory> + +# cgid module is required to run the cgit binary +LoadModule cgid_module lib/httpd/modules/mod_cgid.so +<IfModule cgid_module> + ScriptSock /var/run/cgid.sock +</IfModule> + +# Path to cgit stylesheet, graphics +Alias /cgit-data /usr/share/cgit +<Directory "/usr/share/cgit"> + AllowOverride None + Options None + Require all granted +</Directory> + +# Path to cgit binary +# Next line changed +ScriptAlias / /usr/libexec/cgit/cgi-bin/cgit/ +<Directory "/usr/libexec/cgit/cgi-bin"> + AllowOverride None + Options None + Require all granted +</Directory> |