]>
Commit | Line | Data |
---|---|---|
25c9c071 ER |
1 | |
2 | # Version1 (default): under /cgi-bin/cvsweb.cgi address | |
17de02d6 | 3 | ScriptAlias /cgi-bin/cvsweb.cgi /usr/share/cvsweb/cvsweb.cgi |
d1733389 ER |
4 | Alias /cvsweb/css/ /usr/share/cvsweb/css/ |
5 | Alias /cvsweb/enscript/ /usr/share/cvsweb/enscript/ | |
6 | Alias /cvsweb/icons/ /usr/share/cvsweb/icons/ | |
17de02d6 ER |
7 | |
8 | <Location /cgi-bin/cvsweb.cgi> | |
9 | # See also $charset in cvsweb.conf. | |
10 | #AddDefaultCharset UTF-8 | |
11 | ||
d1733389 | 12 | # if using apache2 mod_perl: |
25c9c071 ER |
13 | # <IfModule mod_perl.c> |
14 | # SetHandler perl-script | |
15 | # PerlResponseHandler ModPerl::Registry | |
16 | # PerlOptions +ParseHeaders | |
17 | # Options ExecCGI | |
18 | # </IfModule> | |
17de02d6 ER |
19 | |
20 | Allow from all | |
21 | </Location> | |
22 | <Location /cvsweb/> | |
23 | Allow from all | |
24 | </Location> | |
25 | ||
25c9c071 ER |
26 | # Version 2: cvsweb as handler to whole vhost: |
27 | #<VirtualHost *:80> | |
28 | # ServerName cvs | |
29 | # | |
d1733389 ER |
30 | # Alias /cvsweb/css/ /usr/share/cvsweb/css/ |
31 | # Alias /cvsweb/enscript/ /usr/share/cvsweb/enscript/ | |
32 | # Alias /cvsweb/icons/ /usr/share/cvsweb/icons/ | |
25c9c071 ER |
33 | # DocumentRoot /usr/share/cvsweb/cvsweb.cgi |
34 | # <Location /> | |
35 | # Options ExecCGI | |
d1733389 | 36 | # Allow from all |
25c9c071 ER |
37 | # </Location> |
38 | #</VirtualHost> |