You are viewing a plain text version of this content. The canonical link for it is here.
Posted to users@subversion.apache.org by Tarly <ta...@gmail.com> on 2008/04/15 06:25:04 UTC
New SVN user question
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