Description
Quick idea: super-lightweight virtual host support for svnserve. Currently, subversion/svnserve/serve.c(find_repos) just skips over the given hostname. Proposal: if you run $ svnserve -r /svn-servers --virtual-host then svn://my.server.org/some/repo looks for a repo at /svn-servers/my.server.org/some/repo. You perhaps would fill your -r path with symlinks. The hostname would not contain slashes by definition and would be explicitly checked to make sure it isn't "." or "..". I suspect the patch comes in at under 30 lines, mostly command-line processing. Seem worthwhile? http://svn.haxx.se/dev/archive-2008-07/0703.shtml
Attachments
Attachments
Issue Links
- is duplicated by
-
SVN-2941 Add virtual hosting support to svnserve
- Closed