[svlug] Unified Password Protection for Multiple Services

Chris Miller lordsauronthegreat at gmail.com
Fri Mar 30 11:24:47 PST 2007


Okay, this is an interesting problem.

I've got an account with DreamHost because I outsourced my web
hosting.  I have a private SVN project which has it's own SVN password
file at /home/fsdev/svn/KW.passwd  I also have a password-protected
web directory (fsdev.net/staff) which is protected by a password file
at /home/fsdev/fsdev.net/staff/.htpasswd

What I want to do is have both SVN and Apache use the same password
file for authentication.  I've been working towards this, however,
with no success.  I've tried numerous things suggested in both the
Apache htaccess tutorials and the Subversion tutorials.  I'm using the
DreamHost wiki page
http://www.wiki.dreamhost.com/index.php/Subversion#Using_Apache_basic_authentication
as my base source for all research.

I know what I want is possible, it's just that I rather not write a
program that will translate between Apache password files and
Subversion password files whenever one of them is changed (which would
be a major pain in my butt.  I could do it in C, but I'd rather not).

Thanks for any suggestions!

-- 
It's not much, but it's what I call 127.0.0.1




More information about the svlug mailing list