]> git.pld-linux.org Git - packages/cvsweb.git/blame - cvsweb-apache.conf
multi apache version package
[packages/cvsweb.git] / cvsweb-apache.conf
CommitLineData
25c9c071 1
fed3a931
ER
2<Directory /usr/share/cvsweb>
3 AllowOverride None
63ba4d81
ER
4 # Apache 2.x
5 <IfModule !mod_authz_core.c>
6 Order allow,deny
7 Allow from all
8 </IfModule>
9 # Apache 2.4
10 <IfModule mod_authz_core.c>
11 Require all granted
12 </IfModule>
fed3a931 13</Directory>
17de02d6 14
fed3a931
ER
15# Version1 (default): under /cgi-bin/cvsweb.cgi address
16ScriptAlias /cgi-bin/cvsweb.cgi /usr/lib/cgi-bin/cvsweb.cgi
17Alias /cvsweb/ /usr/share/cvsweb/
17de02d6 18<Location /cgi-bin/cvsweb.cgi>
63ba4d81
ER
19 # Apache 2.x
20 <IfModule !mod_authz_core.c>
21 Order allow,deny
22 Allow from all
23 </IfModule>
24 # Apache 2.4
25 <IfModule mod_authz_core.c>
26 Require all granted
27 </IfModule>
fed3a931 28
17de02d6
ER
29 # See also $charset in cvsweb.conf.
30 #AddDefaultCharset UTF-8
31
d1733389 32 # if using apache2 mod_perl:
25c9c071
ER
33# <IfModule mod_perl.c>
34# SetHandler perl-script
35# PerlResponseHandler ModPerl::Registry
36# PerlOptions +ParseHeaders
37# Options ExecCGI
38# </IfModule>
17de02d6
ER
39</Location>
40
25c9c071
ER
41# Version 2: cvsweb as handler to whole vhost:
42#<VirtualHost *:80>
fed3a931 43# ServerName cvs
25c9c071 44#
fed3a931
ER
45# Alias /cvsweb/ /usr/share/cvsweb/
46# DocumentRoot /usr/lib/cgi-bin/cvsweb.cgi
47# <Location />
48# Options ExecCGI
63ba4d81
ER
49# # Apache 2.x
50# <IfModule !mod_authz_core.c>
51# Order allow,deny
52# Allow from all
53# </IfModule>
54# # Apache 2.4
55# <IfModule mod_authz_core.c>
56# Require all granted
57# </IfModule>
fed3a931 58# </Location>
25c9c071 59#</VirtualHost>
This page took 0.089094 seconds and 4 git commands to generate.