From 682028074f21a88e2c93525d128fdef068bf4ccb Mon Sep 17 00:00:00 2001 From: Malfurious Date: Fri, 3 Jul 2020 07:26:30 -0400 Subject: Add apache hook for cgit --- apache2/cgit.conf | 8 ++++++++ 1 file changed, 8 insertions(+) create mode 100644 apache2/cgit.conf (limited to 'apache2') diff --git a/apache2/cgit.conf b/apache2/cgit.conf new file mode 100644 index 0000000..aa9a453 --- /dev/null +++ b/apache2/cgit.conf @@ -0,0 +1,8 @@ +ScriptAlias /git/ "/usr/lib/cgit/cgit.cgi/" +RedirectMatch ^/git$ /git/ +Alias /git-css "/usr/share/cgit/" + + AllowOverride None + Options ExecCGI FollowSymlinks + Require all granted + -- cgit v1.2.3