]> git.pld-linux.org Git - packages/mercurial.git/blame - mercurial-hgweb-httpd.config
multi apache version config; NB main package does not depend/conflict on apache!
[packages/mercurial.git] / mercurial-hgweb-httpd.config
CommitLineData
79b64099 1WSGIScriptAlias / /usr/lib64/mercurial/hgwebdir.cgi
1cb5c126 2
79b64099
JR
3<Directory /usr/lib64/mercurial>
4 AllowOverride All
5 Options ExecCGI
6 SetHandler cgi-script
246e7e3a
ER
7 # Apache 2.x
8 <IfModule !mod_authz_core.c>
9# Deny from All
10 Allow from 192.168.*
11 Allow from All
12 </IfModule>
13 # Apache 2.4
14 <IfModule mod_authz_core.c>
15# Require all denied
16# Require ip 192.168.0.0/16
17 Require all granted
18 </IfModule>
79b64099 19</Directory>
1cb5c126 20
79b64099 21DocumentRoot /home/services/hg
1cb5c126 22
79b64099
JR
23<Directory /home/services/hg>
24 Options FollowSymlinks Indexes
25 DirectoryIndex index.html
1cb5c126 26
79b64099 27 AllowOverride All
246e7e3a
ER
28 # Apache 2.x
29 <IfModule !mod_authz_core.c>
30 Order allow,deny
31 Allow from all
32 </IfModule>
33 # Apache 2.4
34 <IfModule mod_authz_core.c>
35 Require all granted
36 </IfModule>
79b64099 37</Directory>
This page took 0.09914 seconds and 4 git commands to generate.