X-Git-Url: https://git.openstreetmap.org/chef.git/blobdiff_plain/8d1d9ed1fb28dcb8c6e9223a866f56abe886b5b7..b3fe8804a9a19ea54b5cc8eab557e98e4cd0f472:/cookbooks/subversion/templates/default/apache.erb diff --git a/cookbooks/subversion/templates/default/apache.erb b/cookbooks/subversion/templates/default/apache.erb index cadae8b08..987d50930 100644 --- a/cookbooks/subversion/templates/default/apache.erb +++ b/cookbooks/subversion/templates/default/apache.erb @@ -4,32 +4,18 @@ ServerName <%= @name %> ServerAdmin webmaster@openstreetmap.org - Protocols http/1.1 - SSLEngine on SSLCertificateFile /etc/ssl/certs/<%= @name %>.pem SSLCertificateKeyFile /etc/ssl/private/<%= @name %>.key CustomLog /var/log/apache2/<%= @name %>-access.log combined - CustomLog /var/log/apache2/<%= @name %>-svn-access.log "%h %t %u %{SVN-ACTION}e" env=SVN-ACTION ErrorLog /var/log/apache2/<%= @name %>-error.log - - DAV svn - SVNPath <%= @directory %> - SVNIndexXSLT /svnindex.xsl - - LimitXMLRequestBody 0 - LimitRequestBody 0 + RedirectPermanent /applications/editors/josm/plugins/cadastre-fr/images/cadastre_small.png https://raw.githubusercontent.com/openstreetmap/svn-archive/main/applications/editors/josm/plugins/cadastre-fr/images/cadastre_small.png - - Require all granted - + RewriteEngine on + RewriteRule ^/?(.*) https://github.com/openstreetmap/svn-archive [L,R=permanent] - - Require all denied - - <% unless @aliases.empty? -%>