How to configure Apache 2.2 + subversion 1.44 for WindowsXP

Source: Internet
Author: User
Guidance:
After studying for a day, I finally completed the method for installing subversion1.44 (the latest version) in apache2.2 (currently.
I hope it will be helpful.
Do not steal the post. Thank you.
The installation of apache2.2 is omitted, and SVN installation is nothing special, all the way to next. Install tortoisesvn and create a repository in the directory where the project is to be stored, for example, D:/SVN/firstsvnprj. You can select any repository type, fsfs or bdb. You can select bdb at the beginning. After the creation, many directories and files will appear. You don't need to worry about it. The preparation is OK. The configuration after installation is as follows:
First to http://www.apachelounge.com/forum/viewtopic.php? T = 121 & postdays = 0 & postorder = ASC & START = 16
Find the APR that matches apache2.2. tdonovan provides one and you can download it by yourself.
You can also find the corresponding version on the official website.
This is the most important step. apache2.2 cannot call APR of svn1.44.
Copy libdb43.dll from the downloaded Apr to the Apache Module Directory/modules/
Add mod_dav_svn.so and mod_authz_svn.so to the Module Directory,
However, in actual use, it is better to set an absolute path during configuration.
Configure httpd. conf (the same as the description on the official website) removes the following comments (delete the '#' Mark ): # loadmodule dav_fs_module modules/mod_dav_fs.so # loadmodule dav_module modules/mod_dav.so Add 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 pay attention to the two modules appended at the end. When I configure the modules, the absolute path is used. Otherwise, errors may occur easily. Example: loadmodule authz_svn_module D:/SVN/mod_authz_svn.so
Add the following lines at the end of the configuration file: Dav svnsvnlistparentpath onsvnparentpath D: /svnauthtype basicauthname "Subversion repositories" authuserfile implements svnaccessfilerequire valid-user. For more information, see the configuration instructions on the official website provided at the end of the article. The passwd file can be created by Apache.> // create a password file, and create the first user htpasswd passwd <User Name> // append a user and create a svnaccessfile file by yourself. Of course, it can also be another name, as long as it is consistent with the name of the configuration file. File Content: [groups]
GroupA = user1, user2
GroupB = user3 # global directory permission
[/]
* = R
# Set group permissions. The user may not add @
@ GroupA = RW
@ GroupB = r // used for demonstration. Because * is set, this row is actually useless # permission settings for other specific subdirectories
[/DSS]
@ GroupB = RW copy these two files to the Apache root directory and restart Apache. Access http: // your IP/SVN/your project directory/. Is everything okay? Official configuration instructions:Http://www.subversion.org.cn/tsvndoc/tsvn-serversetup.html#tsvn-serversetup-apache-4

This article is transferred from
Http://blog.csdn.net/MerlinSky/archive/2007/07/23/1702940.aspx

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.