Take the 2-minute tour ×
Server Fault is a question and answer site for professional system and network administrators. It's 100% free, no registration required.

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 192.168.1.0/8
</Location>

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
add comment

1 Answer

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
add comment

Your Answer

 
discard

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.