Old:Installing SVN: Difference between revisions
no edit summary
No edit summary |
No edit summary |
||
Line 16: | Line 16: | ||
== Configuring SVN == | == Configuring SVN == | ||
# Create an empty folder (I used W: | # Create an empty folder (I used W:\svn), which will used as repository root. | ||
# Create another empty folder (for example W: | # Create another empty folder (for example W:\svn\test) in your repository root. | ||
# Open the Command Prompt (or MS-DOS Prompt in Win 9x), cd into your repository root. Execute:<pre>svnadmin create --fs-type bdb test</pre>or<pre>svnadmin create --fs-type fsfs test</pre> ''Note: test is the folder you created (under your repository root) earlier in Step #2; for more info on which fs-type to choose, read [http://svnbook.red-bean.com/en/1.1/ch05.html#svn-ch-5-sect-1.2.A Chapter 5, Repository Data-Stores] in the SVN book for more information '' | # Open the Command Prompt (or MS-DOS Prompt in Win 9x), cd into your repository root. Execute:<pre>svnadmin create --fs-type bdb test</pre>or<pre>svnadmin create --fs-type fsfs test</pre> ''Note: test is the folder you created (under your repository root) earlier in Step #2; for more info on which fs-type to choose, read [http://svnbook.red-bean.com/en/1.1/ch05.html#svn-ch-5-sect-1.2.A Chapter 5, Repository Data-Stores] in the SVN book for more information '' | ||
Line 24: | Line 24: | ||
<Location /svn> | <Location /svn> | ||
Dav svn | Dav svn | ||
SVNParentPath | SVNParentPath /svn | ||
AuthType Basic | AuthType Basic | ||
AuthName "Subversion Repositories" | AuthName "Subversion Repositories" | ||
AuthUserFile /htpasswd | AuthUserFile /htpasswd/svn/.htpasswd | ||
<LimitExcept GET PROPFIND OPTIONS REPORT> | <LimitExcept GET PROPFIND OPTIONS REPORT> | ||
Require valid-user | Require valid-user | ||
Line 39: | Line 39: | ||
# If you are using version 3.3, please skip to step 4. | # If you are using version 3.3, please skip to step 4. | ||
# Create a "htpasswd" directory in the W:/ drive if you are using version 3.2 or less. | # Create a "htpasswd" directory in the W:/ drive if you are using version 3.2 or less. | ||
# Create a " | # Create a "svn" directory under the "htpasswd" directory. | ||
# Copy the .htpasswd file into the "svn" directory. | # Copy the .htpasswd file into the "svn" directory. | ||
# Now, the time you've all been for. Restart Uniform Server. | # Now, the time you've all been for. Restart Uniform Server. |