summaryrefslogtreecommitdiff
path: root/apache2/conf.available/local-cgit.conf
diff options
context:
space:
mode:
authorJonas Smedegaard <dr@jones.dk>2015-05-24 15:44:46 +0200
committerJonas Smedegaard <dr@jones.dk>2015-05-24 15:44:46 +0200
commit6aa3edf0ca29d0b31198bbb931ed437be92e427e (patch)
tree1f00c7b85dc96f8a1e420e3667d09b2c0a63068c /apache2/conf.available/local-cgit.conf
parentb44bd354b9ed91f54079adb513d2828e3f978c9e (diff)
Rename dir apache2/conf.available → apache2/conf-available.
Diffstat (limited to 'apache2/conf.available/local-cgit.conf')
-rw-r--r--apache2/conf.available/local-cgit.conf27
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]