Apache 2.2 + SubVersion 1.44 configuration method for Windows XP

Source: Internet
Author: User
Tags svn
Guide: Study for one day, finally finished the Apache2.2 version (currently the latest) to install the Subversion1.44 version (currently the latest) method.   Take out and share with you, hope to help. Do not steal stickers, thank you for installing Apache2.2 Skip, SVN installation is nothing special, all the way next. Install TORTOISESVN and use it to create a warehouse in the directory where the project is being prepared, for example: D:/SVN/FIRSTSVNPRJ. Warehouse type can be arbitrarily selected, FSFS or BDB, the beholder. You can choose BDB at first. After the creation of a lot of directories, files, do not worry about it, the preparation of the work has been OK.   After installation, configure the following: first to Http://www.apachelounge.com/forum/viewtopic.php?t=121&postdays=0&postorder=asc&start=16   Find a match with Apache2.2 APR, cattle Tdonovan provided a, to download on their own.   Of course, you can also go to the official website to find the corresponding version. This is the most important step, Apache2.2 cannot invoke the SVN1.44 version of APR from the downloaded Apr to copy the Libdb43.dll to the Apache module directory/modules/official website description add-on will mod_dav_svn.so and Mod_authz_ Svn.so is also copied to the module directory, but it is not practical to set the absolute path configuration when configured httpd.conf (as with the official website description) Remove the following lines of comments (delete ' # ' tags): #LoadModule dav_fs_module Modules/mod_ Dav_fs.so#loadmodule Dav_module modules/mod_dav.so adds the following lines to the end of the LoadModule section. LoadModule dav_svn_module modules/mod_dav_svn.soloadmodule authz_svn_module modules/mod_authz_ Svn.so here to note the last additional 2 module, I configure the use of the absolute path, otherwise it is easy to error. For example: LoadModule authz_svn_module d:/svn/mod_authz_svn.so permissions setting at the end of the configuration file add the following lines: DAV Svnsvnlistparentpath onsvNparentpath d:/svnauthtype basicauthname "Subversion repositories" AuthUserFile passwdauthzsvnaccessfile Svnaccessfilerequire valid-user above configuration explains the configuration of the official web site provided at the end of the article passwd file can be created by Apache Htpasswd-c passwd < username >// Create a password file, and new first user htpasswd passwd < username >//Append a user to create a svnaccessfile file of their own, of course, can also be other names, as long as the name of the configuration file to unify. File contents: [groups] Groupa = user1,user2 GROUPB = user3# Global Directory permissions [/] * = R #组权限设置, the user seems to be able to not add @ @groupA = RW @groupB = R//For demo, because the * was set, this row is actually useless # other specific subdirectories of the permission settings [/DSS] @groupB = RW completes the two files, together copy to the Apache root directory, restart Apache. Visit http://your ip/svn/your engineering directory/, is not everything OK now. Official configuration instructions:Http://www.subversion.org.cn/tsvndoc/tsvn-serversetup.html#tsvn-serversetup-apache-4 This paper is transferred from http://blog.csdn.net/ Merlinsky/archive/2007/07/23/1702940.aspx
Related Article

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.