Line | |
---|
1 | <%page args="cfg, invirt_ssl" /> |
---|
2 | |
---|
3 | Listen ${cfg.web.sites.svn.port} |
---|
4 | <VirtualHost *:${cfg.web.sites.svn.port}> |
---|
5 | ServerAdmin ${cfg.web.errormail} |
---|
6 | ServerName ${cfg.web.hostname}:${cfg.web.sites.svn.port} |
---|
7 | |
---|
8 | <Directory /> |
---|
9 | Options FollowSymLinks |
---|
10 | AllowOverride None |
---|
11 | </Directory> |
---|
12 | <Location /> |
---|
13 | DAV svn |
---|
14 | SVNPath ${cfg.web.sites.svn.repopath} |
---|
15 | AuthType Basic |
---|
16 | AuthName "${cfg.web.sites.svn.authname}" |
---|
17 | AuthUserFile ${cfg.web.sites.svn.get('dav', '/etc/apache2/dav_svn.passwd')} |
---|
18 | <LimitExcept GET PROPFIND OPTIONS REPORT> |
---|
19 | Require valid-user |
---|
20 | </LimitExcept> |
---|
21 | </Location> |
---|
22 | |
---|
23 | ErrorLog /var/log/apache2/error.log |
---|
24 | |
---|
25 | # Possible values include: debug, info, notice, warn, error, crit, |
---|
26 | # alert, emerg. |
---|
27 | LogLevel warn |
---|
28 | |
---|
29 | CustomLog /var/log/apache2/svn_access.log combined |
---|
30 | ServerSignature On |
---|
31 | |
---|
32 | SSLEngine on |
---|
33 | |
---|
34 | SSLCertificateFile ${cfg.web.ssl.cert} |
---|
35 | SSLCertificateKeyFile ${cfg.web.ssl.key} |
---|
36 | </VirtualHost> |
---|
37 | |
---|
38 | Alias ${cfg.web.sites.svn.alias} ${cfg.web.sites.svn.localpath} |
---|
39 | |
---|
40 | <Directory /${cfg.web.sites.svn.localpath}> |
---|
41 | Options Indexes FollowSymLinks MultiViews |
---|
42 | AllowOverride None |
---|
43 | Order allow,deny |
---|
44 | allow from all |
---|
45 | </Directory> |
---|
Note: See
TracBrowser
for help on using the repository browser.