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