]> git.pld-linux.org Git - packages/git-core.git/blame - git-core-gitweb-httpd.conf
Revert "- migrate to apache 2.4"
[packages/git-core.git] / git-core-gitweb-httpd.conf
CommitLineData
e11e20ca
AG
1<Directory /usr/share/gitweb>
2 AllowOverride None
814a047c 3 Allow from All
e11e20ca
AG
4</Directory>
5
6# Version 1 (default): under /cgi-bin/gitweb.cgi address
614295b2 7Alias /cgi-bin/static/ /usr/share/gitweb/static/
e11e20ca 8ScriptAlias /cgi-bin/gitweb.cgi /usr/lib/cgi-bin/gitweb.cgi
e11e20ca 9<Location /cgi-bin/gitweb.cgi>
814a047c 10 Allow from All
e11e20ca 11</Location>
614295b2 12SetEnv GITWEB_CONFIG "/etc/webapps/gitweb/gitweb.conf"
e11e20ca 13
614295b2 14#
e11e20ca
AG
15# Version 2: gitweb as a handler to whole vhost:
16#<VirtualHost *:80>
17# ServerName gitweb
18#
614295b2
KK
19# Alias /static /usr/share/gitweb/static
20# DocumentRoot /usr/lib/cgi-bin
21# AddHandler cgi-script .cgi
22# DirectoryIndex gitweb.cgi
e11e20ca
AG
23# <Location />
24# Options ExecCGI
814a047c 25# Allow from All
e11e20ca 26# </Location>
614295b2 27# SetEnv GITWEB_CONFIG "/etc/webapps/gitweb/gitweb.conf"
e11e20ca 28#</VirtualHost>
This page took 0.049595 seconds and 4 git commands to generate.