mirror of
https://github.com/NixOS/nixpkgs.git
synced 2024-11-01 15:11:25 +00:00
* Put the static files for the Subversion service in a separate directory.
svn path=/nixos/trunk/; revision=10697
This commit is contained in:
parent
7563d6e144
commit
a9281eae63
@ -17,6 +17,7 @@ in
|
||||
grubMenuBuilder
|
||||
initialRamdisk
|
||||
kernel
|
||||
modulesTree
|
||||
nix
|
||||
system
|
||||
systemPath
|
||||
|
@ -230,12 +230,10 @@ let
|
||||
};
|
||||
|
||||
staticFilesConfig = ''
|
||||
# !!! this breaks UserDir if urlPrefix == ""
|
||||
Alias ${if urlPrefix == "" then "/" else urlPrefix} ${staticFiles}/
|
||||
Alias ${urlPrefix}/svn-files ${staticFiles}/
|
||||
<Directory ${staticFiles}>
|
||||
Order allow,deny
|
||||
Allow from all
|
||||
DirectoryIndex repoman
|
||||
</Directory>
|
||||
'';
|
||||
|
||||
@ -291,7 +289,7 @@ in {
|
||||
|
||||
<Location ${urlPrefix}/repos-xml>
|
||||
${reposConfig "repos-xml"}
|
||||
SVNIndexXSLT "${urlPrefix}/xsl/svnindex.xsl"
|
||||
SVNIndexXSLT "${urlPrefix}/svn-files/xsl/svnindex.xsl"
|
||||
</Location>
|
||||
|
||||
${viewvcConfig}
|
||||
|
Loading…
Reference in New Issue
Block a user