Permalink
Browse files

Added git ignore, updated readme, added mod_dav_svn_vhost diff file

  • Loading branch information...
1 parent 33e03a0 commit d9652613815020ae50c84fac42facbbdf9943371 Ken Robertson committed Mar 13, 2008
Showing with 37 additions and 0 deletions.
  1. +2 −0 .gitignore
  2. +24 −0 README
  3. +11 −0 mod_dav_svn_vhost/svnparentpath_vhost.diff
View
@@ -0,0 +1,2 @@
+.DS_Store
+*~
View
24 README
@@ -1,2 +1,26 @@
This is a collection of various little bits and useless
things I've written over time.
+
+= Contents
+
+== autossh
+
+This is a quick little script to add your machine's SSH key to a remote server's
+authorized_keys file. This saves you from having to copy/paste it to the server.
+Saves only a little bit of time, but useful as I regularly work with a number of
+virtual machines, many of them temporary, and got tired of manually doing it.
+
+== mod_authn_dbd_vhost
+
+This is a module for Apache, based off of mod_authn_dbd, which supports
+querying based on the site's current host header. For one project,
+I had a dynamic vhost that had separate users for each possible host header.
+This allowed me to do it without a separate vhost entry for each one in order to
+specify different realms.
+
+== mod_dav_svn_vhost
+
+This module is a diff for Subversion 1.4.6 to patch mod_dav_svn so that it
+appends the current host header to the SVNParentPath directive. With this,
+I can have one vhost entry and have it used for multiple hosts each with separate
+set of repositories.
@@ -0,0 +1,11 @@
+--- 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,

0 comments on commit d965261

Please sign in to comment.