From b830fd2107fd092a9c4f749b88b68412046758ab Mon Sep 17 00:00:00 2001 From: Adam Spragg Date: Fri, 22 Jun 2018 16:24:10 +0100 Subject: Add the repository for the website to the website How very meta! --- apache2.conf | 10 ++++++++++ 1 file changed, 10 insertions(+) (limited to 'apache2.conf') 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/ + + AllowOverride None + Options ExecCGI FollowSymlinks + Require all granted + + # 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 -- cgit v1.2.1