X-Git-Url: http://xvm.mit.edu/gitweb/invirt/packages/invirt-web.git/blobdiff_plain/b2aebfd403c13b11465529c11999f826bdeda1ae..49d252e01b5d04458c8672b058048550606858dc:/files/etc/apache2/sites-available/svn.mako diff --git a/files/etc/apache2/sites-available/svn.mako b/files/etc/apache2/sites-available/svn.mako new file mode 100644 index 0000000..1266338 --- /dev/null +++ b/files/etc/apache2/sites-available/svn.mako @@ -0,0 +1,40 @@ +<% +from invirt.config import structs as cfg +hostname = cfg.web.hostname +errmail = cfg.web.errormail +svnpath = cfg.svn.repopath +%> + + + ServerAdmin ${errormail} + ServerName ${hostname}:1111 + + + Options FollowSymLinks + AllowOverride None + + + DAV svn + SVNPath ${svnpath} + AuthType Basic + AuthName "xvm.mit.edu subversion repository" + AuthUserFile /etc/apache2/dav_svn.passwd + + Require valid-user + + + + ErrorLog /var/log/apache2/error.log + + # Possible values include: debug, info, notice, warn, error, crit, + # alert, emerg. + LogLevel warn + + CustomLog /var/log/apache2/svn_access.log combined + ServerSignature On + + SSLEngine on + + SSLCertificateFile ssl/server.crt + SSLCertificateKeyFile ssl/server.key +