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

New SVN user question

From: Tarly <tarlyqa_at_gmail.com>
Date: Mon, 14 Apr 2008 23:25:04 -0700

Hello,

 

 I am new to this SVN thing, first time I am setting up SVN in fact. I will
copy and paste the notes that I was following and then my error if that
would be ok. Any advise would be greatly appre'd.

 

I did this:

 

cd c:\

mkdir svnrepo

cd svnrepo

svnadmin create patchfiles

"c:\program files\apache group\apache2\bin\htpasswd.exe" -bc htpasswd admin
booboo

"c:\program files\apache group\apache2\bin\htpasswd.exe" -b htpasswd starter
goof

 

Now create a new text file with Notepad and paste this text into it:

[patchfiles:/]

admin = rw

starter = r

 

Then save this text file as "c:\svnrepo\svnaccess.txt". <-- please note. I
did not have file extentions turned on so I had svnaccess.txt.txt I renamed
the file and tried the following:

 

4. Setup Subversion integration for the Apache HTTP Server

Select "start -> program files -> Apache HTTP Server -> Configure Apache
Server -> Edit the Apache

httpd.conf Configuration File" to open the configuration file. Add this text
to the bottom of the file:

<Location /svn>

SetOutputFilter DEFLATE

SetInputFilter DEFLATE

DAV svn

SVNParentPath C:/svnrepo

# our access control policy

AuthzSVNAccessFile C:/svnrepo/svnaccess.txt

AuthType Basic

AuthName "My Game's Patch File Repository"

AuthUserFile C:/svnrepo/htpasswd

require valid-user

</Location>

 

Save the file and then restart the Apache HTTP Server by double clicking on
the server monitor in the

lower right corner of the desktop and then clicking on restart.

 

 I then did this:

 

Open a command shell and type in:

cd c:\

mkdir piddle

cd c:\piddle

svn co http://127.0.0.1/svn/patchfiles patchfiles

Make sure to authenticate with the admin account because you need write
permission.

 

 When I hit enter after typing svn co http://127.0.0.1/svn/patchfiles
patchfiles I get the following:

 

Authentication realm: <http://127.0.0.1:80> My Game's Patch File Repository

Password for 'Tarl':

 

I hit enter as I did not make a login for MY login name, only for admin and
starter

I then type in admin and type in admins PW that I created above.

 

I try the three tried and then I get this error:

 

svn: PROPFIND request failed on '/svn/patchfiles'

svn: PROPFIND of '/svn/patchfiles': authorization failed (http://127.0.0.1
<http://127.0.0.1/> )

 

Could you please advise or pass me a link that I could research.

 

Thank you very much for your time.

 

Respectfully,

 

Clifford

 

 

 
Received on 2008-04-16 18:52:41 CEST

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.