source: trunk/packages/invirt-web/files/etc/apache2/sites-available/svn.mako @ 2765

Last change on this file since 2765 was 1318, checked in by price, 16 years ago

sipb-xen-www -> invirt-web

File size: 859 bytes
Line 
1<%
2from invirt.config import structs as cfg
3hostname = cfg.web.hostname
4errmail  = cfg.web.errormail
5svnpath  = cfg.svn.repopath
6%>
7Listen 1111
8<VirtualHost *:1111>
9        ServerAdmin ${errmail}
10        ServerName ${hostname}:1111
11       
12        <Directory />
13                Options FollowSymLinks
14                AllowOverride None
15        </Directory>
16        <Location />
17                DAV svn
18                SVNPath ${svnpath}
19                AuthType Basic
20                AuthName "xvm.mit.edu subversion repository"
21                AuthUserFile /etc/apache2/dav_svn.passwd
22                <LimitExcept GET PROPFIND OPTIONS REPORT>
23                        Require valid-user
24                </LimitExcept>
25        </Location>
26
27        ErrorLog /var/log/apache2/error.log
28
29        # Possible values include: debug, info, notice, warn, error, crit,
30        # alert, emerg.
31        LogLevel warn
32
33        CustomLog /var/log/apache2/svn_access.log combined
34        ServerSignature On
35
36        SSLEngine on
37
38        SSLCertificateFile ssl/server.crt
39        SSLCertificateKeyFile ssl/server.key
40</VirtualHost>
Note: See TracBrowser for help on using the repository browser.