krobertson / tidbits

Little tidbits and modules I've written

This URL has Read+Write access

Ken Robertson (author)
Fri Apr 11 20:18:14 -0700 2008
commit  a82a780ca47332ed0d460cfdf2b0ec7c4c9509be
tree    96dddf7f4944c9c01edc8a241a3dfcbcceec1835
parent  be8fa4a28d1b7446ec30614ce13799ce50604fde
tidbits / svn_mods / svnparentpath_vhost.diff
100644 12 lines (9 sloc) 0.507 kb
1
2
3
4
5
6
7
8
9
10
11
12
--- subversion-1.4.6/subversion/mod_dav_svn/mod_dav_svn.c 2006-08-10 13:58:33.000000000 -0700
+++ subversion-1.4.6-custom/subversion/mod_dav_svn/mod_dav_svn.c 2008-03-01 13:58:38.000000000 -0800
@@ -295,7 +295,7 @@
     dav_svn_dir_conf *conf;
 
     conf = ap_get_module_config(r->per_dir_config, &dav_svn_module);
- return conf->fs_parent_path;
+ return apr_pstrcat(r->pool, conf->fs_parent_path, "/", r->hostname, NULL);
 }
 
 AP_MODULE_DECLARE(dav_error *) dav_svn_get_repos_path(request_rec *r,