summaryrefslogtreecommitdiff
path: root/apache2.conf
diff options
context:
space:
mode:
authorAdam Spragg <adam@spra.gg>2018-06-22 16:24:10 +0100
committerAdam Spragg <adam@spra.gg>2018-06-22 16:24:10 +0100
commitb830fd2107fd092a9c4f749b88b68412046758ab (patch)
treeef7e5d29c1dc8dbf145d85abbb131e39867d517c /apache2.conf
parentadd7b6b26d3751a4142a81d238bc788019993e46 (diff)
Add the repository for the website to the website
How very meta!
Diffstat (limited to 'apache2.conf')
-rw-r--r--apache2.conf10
1 files changed, 10 insertions, 0 deletions
diff --git a/apache2.conf b/apache2.conf
index 3cb3ab7..a29a16d 100644
--- a/apache2.conf
+++ b/apache2.conf
@@ -178,6 +178,16 @@
# Enable user-dirs
UserDir public_html
+ # Enable cgitrc at /projects/cgit
+ SetEnv CGIT_CONFIG /srv/www/spragg-ssl.co.uk/cgitrc
+ ScriptAlias /projects/cgit/ "/usr/lib/cgit/cgit.cgi/"
+ RedirectMatch ^/projects/cgit$ /projects/cgit/
+ <Directory "/usr/lib/cgit/">
+ AllowOverride None
+ Options ExecCGI FollowSymlinks
+ Require all granted
+ </Directory>
+
# Enable the STAG trac instance over WSGI
#WSGIScriptAlias /c/STAG/trac /srv/www/spragg-ssl.co.uk/html/c/STAG/trac/cgi-bin/trac.wsgi
</VirtualHost>