Attach Subversion to Apache on Windows
Posted At : January 21, 2008 8:14 PM | Posted By : Inner Rhythm TV
Related Categories: Windows , Apache , Subversion
Related Categories: Windows , Apache , Subversion
Lets now tie Subversion to Apache, allowing you to view your repository via the web browser and give you the ability have finer access control. You can have seperate users each of which can have different rights. If you haven't downloaded the Zip File then do so now, this Zip Contains all the files required to Install Apache, SVN & Trac. there is a Video to View [QuickTime | You Tube] You can increase the size of each of the images by clicking on them, so lets get started:
| Open the expanded Folder from the downloaded zip file. | ![]() |
| Open the CopyText.txt file | ![]() |
| Highlight all of the file execpt for the last line. | ![]() |
| Go to the Edit Menu and select copy. | ![]() |
| Go to the conf folder of the apache install in this example: C:\Apps\Apache Software Foundation\Apache2.2\conf | ![]() |
| Open the httpd.conf in Notepad | ![]() |
| Scroll down the file till you come to the end of the load modules. | ![]() |
| Go to the edit menu and select paste. | ![]() |
| Place a carriage return before and after to tidy the file up, Go to the File Menu and select save and close the file. | ![]() |
| Goto the bin folder contain above the conf folder, and copy the folder location. | ![]() |
| Open a command prompt and type CD | ![]() |
| and paste the coped location and press enter. | ![]() |
| Type in htpasswd -cm c:\Data\Configuration\svn-auth-file Admin press enter. Then you will need to enter in a password twice. | ![]() |
| Next we create a general users called user: htpasswd -m c:\Data\Configuration\svn-auth-file Admin press enter and enter the password when prompted. (Notice no -cm just -m) Again enter a password twice. | ![]() |
| Next Restart the Apache Server Start > All Programs > Apache HTTP Server 2.2.6 > Control Apache Server > Restart | ![]() |
| Now check that Apache is still running ok open a Internet Browser and go to http://localhost | ![]() |
| Next go to http://localhost/SVN/Project1. | ![]() |
| Enter the Admin username and password, you should see Revision 0 for the new repository. You're now ready to use SVN via Apache. | ![]() |
.




















There are no comments for this entry.
[Add Comment]