summaryrefslogtreecommitdiff
path: root/templates/apache-gitweb.conf.erb
blob: d0736ae106f9d1dfda4fe6344729e4c3ecde5e6f (plain)
1
2
3
4
5
6
7
8
9
10
11
12
13
<VirtualHost *:<%= port %>>
    ServerName <%= name %>
    DocumentRoot <%= docroot %>
    <Directory <%= docroot %>>
        Options ExecCGI +FollowSymLinks +SymLinksIfOwnerMatch
        AllowOverride All
        order allow,deny
        Allow from all
        AddHandler cgi-script cgi
        DirectoryIndex gitweb.cgi
    </Directory>
</VirtualHost>