]> git.pld-linux.org Git - packages/git-core.git/blame - git-core-gitweb-httpd.conf
package zsh completion
[packages/git-core.git] / git-core-gitweb-httpd.conf
CommitLineData
e11e20ca
AG
1<Directory /usr/share/gitweb>
2 AllowOverride None
95c90ddf
ER
3 # Apache 2.x
4 <IfModule !mod_authz_core.c>
5 Order allow,deny
6 Allow from all
7 </IfModule>
8 # Apache 2.4
9 <IfModule mod_authz_core.c>
10 Require all granted
11 </IfModule>
e11e20ca
AG
12</Directory>
13
14# Version 1 (default): under /cgi-bin/gitweb.cgi address
614295b2 15Alias /cgi-bin/static/ /usr/share/gitweb/static/
e11e20ca 16ScriptAlias /cgi-bin/gitweb.cgi /usr/lib/cgi-bin/gitweb.cgi
e11e20ca 17<Location /cgi-bin/gitweb.cgi>
95c90ddf
ER
18 # Apache 2.x
19 <IfModule !mod_authz_core.c>
20 Order allow,deny
21 Allow from all
22 </IfModule>
23 # Apache 2.4
24 <IfModule mod_authz_core.c>
25 Require all granted
26 </IfModule>
e11e20ca 27</Location>
4cfd9bdb
ER
28<IfModule mod_env.c>
29 SetEnv GITWEB_CONFIG "/etc/webapps/gitweb/gitweb.conf"
30</IfModule>
e11e20ca 31
614295b2 32#
e11e20ca
AG
33# Version 2: gitweb as a handler to whole vhost:
34#<VirtualHost *:80>
35# ServerName gitweb
36#
614295b2
KK
37# Alias /static /usr/share/gitweb/static
38# DocumentRoot /usr/lib/cgi-bin
39# AddHandler cgi-script .cgi
40# DirectoryIndex gitweb.cgi
e11e20ca
AG
41# <Location />
42# Options ExecCGI
95c90ddf
ER
43# # Apache 2.x
44# <IfModule !mod_authz_core.c>
45# Order allow,deny
46# Allow from all
47# </IfModule>
48# # Apache 2.4
49# <IfModule mod_authz_core.c>
50# Require all granted
51# </IfModule>
e11e20ca 52# </Location>
614295b2 53# SetEnv GITWEB_CONFIG "/etc/webapps/gitweb/gitweb.conf"
e11e20ca 54#</VirtualHost>
This page took 0.051684 seconds and 4 git commands to generate.