Old:Installing SVN: Difference between revisions

Jump to navigation Jump to search
Fixed the /www/svn to /www
(Gave in to Derrick's Comment, and also removed the article notice on top.)
(Fixed the /www/svn to /www)
Line 29: Line 29:
</Location>
</Location>
</nowiki></pre> ''Note: If you do not want your repository to have read access for everyone (those who do not have the password) remove the <LimitExcept>''  
</nowiki></pre> ''Note: If you do not want your repository to have read access for everyone (those who do not have the password) remove the <LimitExcept>''  
# /www/svn is the path to your repository root, if you used any drive other than what Apache is on (Uniform Server default = W:\) for your repository root, you'll have to put the drive letter in front of the / (for example, C:\SVN becomes C:/SVN)
# /svn is the path to your repository root, if you used any drive other than what Apache is on (Uniform Server default = W:\) for your repository root, you'll have to put the drive letter in front of the / (for example, C:\SVN becomes C:/SVN)
# Finally, let's create the .htpasswd file which will store the username & password needed to modify your repositories. Open the Command Prompt again, cd into Apache's bin directory (W:\usr\local\Apache2\bin). Execute:<pre>htpasswd -c .htpasswd <username></pre> To add more usernames & passwords, execute:<pre><nowiki>htpasswd .htpasswd <username></nowiki></pre> ''Note: Replace <nowiki><username></nowiki> with the username of your choice.''
# Finally, let's create the .htpasswd file which will store the username & password needed to modify your repositories. Open the Command Prompt again, cd into Apache's bin directory (W:\usr\local\Apache2\bin). Execute:<pre>htpasswd -c .htpasswd <username></pre> To add more usernames & passwords, execute:<pre><nowiki>htpasswd .htpasswd <username></nowiki></pre> ''Note: Replace <nowiki><username></nowiki> with the username of your choice.''


Navigation menu