]> git.pld-linux.org Git - packages/git-core.git/blame_incremental - git-core-gitweb-httpd.conf
package zsh completion
[packages/git-core.git] / git-core-gitweb-httpd.conf
... / ...
CommitLineData
1<Directory /usr/share/gitweb>
2 AllowOverride None
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>
12</Directory>
13
14# Version 1 (default): under /cgi-bin/gitweb.cgi address
15Alias /cgi-bin/static/ /usr/share/gitweb/static/
16ScriptAlias /cgi-bin/gitweb.cgi /usr/lib/cgi-bin/gitweb.cgi
17<Location /cgi-bin/gitweb.cgi>
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>
27</Location>
28<IfModule mod_env.c>
29 SetEnv GITWEB_CONFIG "/etc/webapps/gitweb/gitweb.conf"
30</IfModule>
31
32#
33# Version 2: gitweb as a handler to whole vhost:
34#<VirtualHost *:80>
35# ServerName gitweb
36#
37# Alias /static /usr/share/gitweb/static
38# DocumentRoot /usr/lib/cgi-bin
39# AddHandler cgi-script .cgi
40# DirectoryIndex gitweb.cgi
41# <Location />
42# Options ExecCGI
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>
52# </Location>
53# SetEnv GITWEB_CONFIG "/etc/webapps/gitweb/gitweb.conf"
54#</VirtualHost>
This page took 0.026671 seconds and 4 git commands to generate.