Last change
on this file since 896 was
886,
checked in by y_z, 16 years ago
|
using mako-render instead of mako; fixed a typo in svn.mako
|
File size:
848 bytes
|
Rev | Line | |
---|
[883] | 1 | <% |
---|
| 2 | from invirt.config import structs as cfg |
---|
| 3 | hostname = cfg.web.hostname |
---|
| 4 | errmail = cfg.web.errormail |
---|
| 5 | svnpath = cfg.svn.repopath |
---|
| 6 | %> |
---|
| 7 | |
---|
| 8 | <VirtualHost *:1111> |
---|
[886] | 9 | ServerAdmin ${errmail} |
---|
[883] | 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.