]>
Commit | Line | Data |
---|---|---|
59d1bb69 AZ |
1 | <Directory /usr/share/viewvc> |
2 | AllowOverride None | |
3 | Options +FollowSymlinks | |
1805023c | 4 | Require all granted |
59d1bb69 AZ |
5 | </Directory> |
6 | ||
7 | # Version1 (default): under /cgi-bin/viewvc.cgi address | |
8 | ScriptAlias /cgi-bin/viewvc.cgi /usr/share/viewvc/bin/cgi/viewvc.cgi | |
9 | ScriptAlias /cgi-bin/viewvc-query.cgi /usr/share/viewvc/bin/cgi/query.cgi | |
10 | ||
11 | # if using apache2 mod_python: | |
12 | # Alias /viewvc /usr/share/viewvc/bin/mod_python | |
13 | # <Location /viewvc> | |
1805023c | 14 | # Require all granted |
59d1bb69 AZ |
15 | # <IfModule mod_python.c> |
16 | # AddHandler mod_python .py | |
17 | # PythonPath "sys.path+['/usr/share/viewvc/bin/mod_python']" | |
18 | # PythonHandler handler | |
19 | # PythonDebug Off | |
20 | # </IfModule> | |
21 | # </Location> | |
22 | ||
23 | # Version 2: viewvc as handler to whole vhost: | |
24 | #<VirtualHost *:80> | |
25 | # ServerName cvs | |
26 | # | |
27 | # Alias /viewvc/ /usr/share/viewvc | |
28 | # DocumentRoot /usr/share/viewvc/bin/cgi/viewvc.cgi | |
29 | # <Location /> | |
30 | # Options ExecCGI | |
1805023c | 31 | # Require all granted |
59d1bb69 AZ |
32 | # </Location> |
33 | #</VirtualHost> | |
34 |