Config updates for xenial
[sysconfig/apache2.git] / conf-available / gitweb.conf
1 <IfModule mod_alias.c>
2   <IfModule mod_mime.c>
3     <IfModule mod_cgi.c>
4       Define ENABLE_GITWEB
5     </IfModule>
6     <IfModule mod_cgid.c>
7       Define ENABLE_GITWEB
8     </IfModule>
9   </IfModule>
10 </IfModule>
11
12 <IfDefine ENABLE_GITWEB>
13   Alias /gitweb /usr/share/gitweb
14
15   <Directory /usr/share/gitweb>
16     Options +FollowSymLinks +ExecCGI
17     AddHandler cgi-script .cgi
18   </Directory>
19 </IfDefine>