]> git.pld-linux.org Git - packages/cvsweb.git/blob - cvsweb-apache.conf
- drop obsolete and outdated manual inclusion of rpm macros
[packages/cvsweb.git] / cvsweb-apache.conf
1
2 <Directory /usr/share/cvsweb>
3         AllowOverride None
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>
13 </Directory>
14
15 # Version1 (default): under /cgi-bin/cvsweb.cgi address
16 ScriptAlias /cgi-bin/cvsweb.cgi /usr/lib/cgi-bin/cvsweb.cgi
17 Alias /cvsweb/ /usr/share/cvsweb/
18 <Location /cgi-bin/cvsweb.cgi>
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>
28
29         # See also $charset in cvsweb.conf.
30         #AddDefaultCharset UTF-8
31
32         # if using apache2 mod_perl:
33 #       <IfModule mod_perl.c>
34 #               SetHandler perl-script
35 #               PerlResponseHandler ModPerl::Registry
36 #               PerlOptions +ParseHeaders
37 #               Options ExecCGI
38 #       </IfModule>
39 </Location>
40
41 # Version 2: cvsweb as handler to whole vhost:
42 #<VirtualHost *:80>
43 #       ServerName cvs
44 #
45 #       Alias /cvsweb/ /usr/share/cvsweb/
46 #       DocumentRoot /usr/lib/cgi-bin/cvsweb.cgi
47 #       <Location />
48 #               Options ExecCGI
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>
58 #       </Location>
59 #</VirtualHost>
This page took 0.067594 seconds and 3 git commands to generate.