svn+ APACHE + TORTOISTSVN Configuration

Source: Internet
Author: User
Tags svn

1. Software download and Installation

Download and installation must be very simple, from their own web site download the latest version of the installable version, as prompted to install also can be.

After the Apache installation is successful, enter http://localhost in the browser, and if no error message is prompted, the installation is successful. Previous versions of the success message is a very simple picture plus a text description, indicating that the installation was successful; now the Apache version of the success hint seems more concise, only a few characters "It works!" To show their own, and do not know why are more and more know how to save ink.

But pay attention to two points: (1) Subversion and Apache version to match, download time to look at the text description is also. (2) After the installation of TSVN, will be prompted to reboot, under normal circumstances, or choose to reboot, because in some cases, do not restart the computer can not use it normally.

setting of 2.Apache

Apache configuration is the most important, if you choose Apache for version Library management, you can save subversion trouble, the access to the version library and user settings can be managed through Apache.

(1) Must load the module

First locate the conf/httpd.conf file under the Apache installation directory and locate the following two lines:

Java code

#LoadModule dav_module modules/mod_dav.so

#LoadModule dav_fs_module modules/mod_dav_fs.so

Not surprisingly, these two lines should be in the 83 and 84 lines of the file, removing the front "#" number so that when Apache starts, it loads mod_dav.so and mod_dav_fs.so two files.

The mod_dav_svn.so and mod_authz_svn.so two files in the bin directory under the Subversion installation directory are also added to the Apache loading module. The next two lines are added to the end of the httpd.conf file LoadModule statement block (approximately 127 lines), where the file path should be the same as your installation path.

Java code

LoadModule dav_svn_module "D:\Program files\subversion\bin\mod_dav_svn.so"

LoadModule authz_svn_module "D:\Program files\subversion\bin\mod_authz_svn.so"

PS: A lot of tutorials say, put these two files into Apache modules or bin directory, and then by adding the following two lines

Java code

LoadModule dav_svn_module modules/ mod_dav_svn.so 

LoadModule authz_svn_module modules/mod_authz_svn.so

To carry out the loading of these two modules, I am not stupid, so far has not tried to succeed, as a learning, you can also try this way of loading, if not successful, and then to the previous loading mode is not late.

Contact Us

The content source of this page is from Internet, which doesn't represent Alibaba Cloud's opinion; products and services mentioned on that page don't have any relationship with Alibaba Cloud. If the content of the page makes you feel confusing, please write us an email, we will handle the problem within 5 days after receiving your email.

If you find any instances of plagiarism from the community, please send an email to: info-contact@alibabacloud.com and provide relevant evidence. A staff member will contact you within 5 working days.

A Free Trial That Lets You Build Big!

Start building with 50+ products and up to 12 months usage for Elastic Compute Service

  • Sales Support

    1 on 1 presale consultation

  • After-Sales Support

    24/7 Technical Support 6 Free Tickets per Quarter Faster Response

  • Alibaba Cloud offers highly flexible support services tailored to meet your exact needs.