diff options
author | Malfurious <m@lfurio.us> | 2020-07-03 07:26:30 -0400 |
---|---|---|
committer | Malfurious <m@lfurio.us> | 2020-07-03 07:26:30 -0400 |
commit | 682028074f21a88e2c93525d128fdef068bf4ccb (patch) | |
tree | 2bd354102f29bcfaa154407efcc7d32188e9e26e | |
parent | 71cd56350d691608f051d05b1b70a514e17250a0 (diff) | |
download | site-682028074f21a88e2c93525d128fdef068bf4ccb.tar.gz site-682028074f21a88e2c93525d128fdef068bf4ccb.zip |
Add apache hook for cgit
-rw-r--r-- | apache2/cgit.conf | 8 |
1 files changed, 8 insertions, 0 deletions
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/" +<Directory "/usr/lib/cgit/"> + AllowOverride None + Options ExecCGI FollowSymlinks + Require all granted +</Directory> |