[svn.haxx.se] · SVN Dev · SVN Users · SVN Org · TSVN Dev · TSVN Users · Subclipse Dev · Subclipse Users · this month's index

No authentication for localhost, basic authentication for others.

From: Greg Martyn <greg.martyn_at_gmail.com>
Date: 2006-04-06 20:24:50 CEST

I haven't received an answer to my question.. does anyone know the
right place to ask?

The original question:
-----------------------------------------
I'm trying to require users to authenticate against a passwd file
unless they are from localhost (or 192.168.0.113). I have no problem
with users from localhost doing whatever they want to the files in
svn.

With the AuthzSVNAccessFile line commented out, everyone gets in
without getting asked to login. With it uncommented, everyone has to
authenticate (even from localhost). How can I get it to ask for a
password when not from localhost and not ask for a password when from
localhost?

Thanks,
Greg Martyn
- Hide quoted text -

<Location /svn>
  DAV svn
  SVNParentPath /var/www/SVNRepositories

  ModMimeUsePathInfo On
  SVNAutoversioning On

  # Require SSL connection for password protection.
  SSLRequireSSL

 # our access control policy
  #AuthzSVNAccessFile /etc/httpd/conf.d/svnaccess

  AuthType Basic
  AuthName "Subversion repository"
  AuthUserFile /etc/httpd/conf.d/svnpasswd

 Require valid-user
 Allow from 192.168.0.113 127.0.0.1
 Satisfy Any
</Location>

---------------------------------------------------------------------
To unsubscribe, e-mail: users-unsubscribe@subversion.tigris.org
For additional commands, e-mail: users-help@subversion.tigris.org
Received on Thu Apr 6 20:26:46 2006

This is an archived mail posted to the Subversion Users mailing list.

This site is subject to the Apache Privacy Policy and the Apache Public Forum Archive Policy.