summaryrefslogtreecommitdiffhomepage
path: root/services/repos/httpd-cgit.conf
diff options
context:
space:
mode:
Diffstat (limited to 'services/repos/httpd-cgit.conf')
-rw-r--r--services/repos/httpd-cgit.conf17
1 files changed, 17 insertions, 0 deletions
diff --git a/services/repos/httpd-cgit.conf b/services/repos/httpd-cgit.conf
new file mode 100644
index 00000000..196db4d7
--- /dev/null
+++ b/services/repos/httpd-cgit.conf
@@ -0,0 +1,17 @@
+Alias /cgit.css "/usr/local/apache2/htdocs/cgit/static/cgit.css"
+Alias /cgit.js "/usr/local/apache2/htdocs/cgit/static/cgit.js"
+Alias /cgit.png "/usr/local/apache2/htdocs/cgit/static/cgit.png"
+Alias /favicon.ico "/usr/local/apache2/htdocs/cgit/static/favicon.ico"
+Alias /robots.txt "/usr/local/apache2/htdocs/cgit/static/robots.txt"
+<Directory "/usr/local/apache2/htdocs/cgit/static/">
+ AllowOverride None
+ Options None
+ Require all granted
+</Directory>
+
+ScriptAlias / "/usr/local/apache2/htdocs/cgit/cgi/cgit.cgi/"
+<Directory "/usr/local/apache2/htdocs/cgit/cgi/">
+ AllowOverride None
+ Options ExecCGI FollowSymlinks
+ Require all granted
+</Directory>