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

Re: 'svn import' fails with 'Require valid-user' directive

From: John Szakmeister <john_at_szakmeister.net>
Date: 2003-11-18 23:37:31 CET

On Tuesday 18 November 2003 17:17, Dario Alcocer wrote:
> The 'svn import' command will fail if the <Location> block uses the
> 'Require valid-user' directive; it doesn't matter if the directive
> appears in a <LimitExcept> block or not.

I suspect you have not configured apache correctly. You need to specify an
AuthType and setup a users file using htpasswd. I have this in my setup, and
it's worked fine for months.

<Location /repos>
   DAV svn
   SVNParentPath /usr/local/svn
   AuthType Basic
   AuthName "SVN Repository"
   AuthUserFile /usr/local/apache2/users
   Require valid-user
</Location>

-John

---------------------------------------------------------------------
To unsubscribe, e-mail: users-unsubscribe@subversion.tigris.org
For additional commands, e-mail: users-help@subversion.tigris.org
Received on Tue Nov 18 23:34:05 2003

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.