Server Fault is a question and answer site for system and network administrators. It's 100% free, no registration required.

Sign up
Here's how it works:
  1. Anybody can ask a question
  2. Anybody can answer
  3. The best answers are voted up and rise to the top

I'm sorry if the title isn't very precise, but that's really all there is to it.

I'm running Apache 2.2 on my computer to host a LAN subversion server. Since it's local-only, I don't need strict security, and there are no authentication directives set.

<Location /svn>
    DAV svn
    SVNPath /path/to/repos
    Order deny,allow
    Allow from

This works well to the extent of saving revisions of my files. However, there's no author specified in the revisions as there's no authentication.

My roommate will collaborate with me on certain projects, and while it's not strictly necessary, it'd be great if we were able to sort out who made what. Of course, I could set up a simple authentication realm with two users (and there's a possibility that it's the simplest way), however I'm wondering if it's possible to have Apache authenticate me and my roommate, at least as far as SVN is concerned, based on our static LAN IP addresses (or whatever else could be used transparently as an identification factor) rather than on WWW authentication.

share|improve this question

Don't use Subversion: use a DVCS instead.

If you do use Subversion, note that it doesn't require Apache. It can also run on local files, as a daemon, or tunneled over SSH. For example, by tunneling over SSH you can use public keys to authenticate automatically.

share|improve this answer

Your Answer


By posting your answer, you agree to the privacy policy and terms of service.

Not the answer you're looking for? Browse other questions tagged or ask your own question.