From a9281eae6360d4969e468016408021ac9b9f0d1d Mon Sep 17 00:00:00 2001 From: Eelco Dolstra Date: Thu, 14 Feb 2008 20:59:04 +0000 Subject: [PATCH] * Put the static files for the Subversion service in a separate directory. svn path=/nixos/trunk/; revision=10697 --- default.nix | 1 + upstart-jobs/apache-httpd/subversion.nix | 6 ++---- 2 files changed, 3 insertions(+), 4 deletions(-) diff --git a/default.nix b/default.nix index fcf12b80479f..d46385065436 100644 --- a/default.nix +++ b/default.nix @@ -17,6 +17,7 @@ in grubMenuBuilder initialRamdisk kernel + modulesTree nix system systemPath diff --git a/upstart-jobs/apache-httpd/subversion.nix b/upstart-jobs/apache-httpd/subversion.nix index 08ed6ce93e75..3d28d4850ae2 100644 --- a/upstart-jobs/apache-httpd/subversion.nix +++ b/upstart-jobs/apache-httpd/subversion.nix @@ -230,12 +230,10 @@ let }; staticFilesConfig = '' - # !!! this breaks UserDir if urlPrefix == "" - Alias ${if urlPrefix == "" then "/" else urlPrefix} ${staticFiles}/ + Alias ${urlPrefix}/svn-files ${staticFiles}/ Order allow,deny Allow from all - DirectoryIndex repoman ''; @@ -291,7 +289,7 @@ in { ${reposConfig "repos-xml"} - SVNIndexXSLT "${urlPrefix}/xsl/svnindex.xsl" + SVNIndexXSLT "${urlPrefix}/svn-files/xsl/svnindex.xsl" ${viewvcConfig}