diff options
author | Jonas Smedegaard <dr@jones.dk> | 2016-04-29 18:51:19 +0200 |
---|---|---|
committer | Jonas Smedegaard <dr@jones.dk> | 2016-04-29 18:51:28 +0200 |
commit | 99756ab887912bbb0bba0401a2650c6ce2123a29 (patch) | |
tree | e478197765e32cbc4e520c65bdff3f60c81b6d1b /apache2/conf-available/local-cgit.conf | |
parent | 2214e868589631eb347ff73b2ae11969554bf3cf (diff) |
Move and improve cgit snippets.
Diffstat (limited to 'apache2/conf-available/local-cgit.conf')
-rw-r--r-- | apache2/conf-available/local-cgit.conf | 27 |
1 files changed, 0 insertions, 27 deletions
diff --git a/apache2/conf-available/local-cgit.conf b/apache2/conf-available/local-cgit.conf deleted file mode 100644 index 100720c..0000000 --- a/apache2/conf-available/local-cgit.conf +++ /dev/null @@ -1,27 +0,0 @@ -AddDefaultCharset UTF-8 - -<Directory /srv/git> - Options None - AllowOverride None - Require all granted -</Directory> - -<Directory /usr/lib/cgit> - Options ExecCgi FollowSymLinks - AllowOverride None - Require all granted -</Directory> - - -<Directory /usr/share/cgit> - Options None - AllowOverride None - Require all granted -</Directory> - -RewriteEngine on - -RewriteRule ^/(cgit-css/)?(cgit\.(css|png)|favicon\.ico|robots.txt)$ /usr/share/cgit/$2 [last] - -RewriteCond %{REQUEST_FILENAME} !-f -RewriteRule ^(/.*)?$ /usr/lib/cgit/cgit.cgi$1 [T=application/x-httpd-cgi,L,NS] |