summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorSilvio Rhatto <rhatto@riseup.net>2011-07-26 16:26:19 -0300
committerSilvio Rhatto <rhatto@riseup.net>2011-07-26 16:26:19 -0300
commit50f8913b3b34b22e72b3232480dea8140a0e334b (patch)
tree902c39c1ee42df14759032735a2e948a7f0a6070
parent8445b43bbb777e670edb91d0f6b0627ce0b59820 (diff)
downloadpuppet-apache-50f8913b3b34b22e72b3232480dea8140a0e334b.tar.gz
puppet-apache-50f8913b3b34b22e72b3232480dea8140a0e334b.tar.bz2
Default ErrorDocument for svn repositories
-rw-r--r--templates/macros.erb3
1 files changed, 3 insertions, 0 deletions
diff --git a/templates/macros.erb b/templates/macros.erb
index 672acca..49deefa 100644
--- a/templates/macros.erb
+++ b/templates/macros.erb
@@ -1,6 +1,9 @@
<Macro Subversion $repos>
# begin svn config
<Location /$repos>
+ # See http://sergiy.kyrylkov.name/blog/2005/07/propfind-302-found-error-in-subversion/
+ ErrorDocument 404 default
+
DAV svn
SVNPath /var/svn/$repos