diff options
Diffstat (limited to 'apache2.conf')
-rw-r--r-- | apache2.conf | 10 |
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> |