SVN 1.80 + Apache2.4.4 Integration full Raiders

Source: Internet
Author: User
Tags apache log tortoisesvn

Read guide: Apacheand SVN's integrated configuration may encounter some problems, this article provides a few common problems of the solution, for reference only,
attached: The requested operation has failed error solution
attached: Could not open the requested SVN filesystem wrong solution
attached: Authentication failure and Password mismatch solutions
Apacheand SVN diagram1. Download the file Note: The client will be consistent with the server version TORTOISESVN is the client program needs to download and install: HTTP://SOURCEFORGE.NET/PROJECTS/TORTOISESVN/FILES/?SOURCE=NAVB Ar English is not good can download a client's Chinese plugin, must be installed in the client installation: http://downloads.sourceforge.net/tortoisesvn/languagepack_1.8.1.24570- Win32-zh_cn.msi?download Subversion is the SVN server is a compression package This article mainly describes the configuration of this compression package: HTTP://JAIST.DL.SOURCEFORGE.NET/PROJECT/WIN32SVN /2. Client Service side Apache version selection (important) All program versions of this article:
System: Win7-32bit
tortoisesvn:1.8.0 subversion:1.8.0
apache:2.4.4 (wamp) wamp:http://www.wampserver.com/en/
The client and server must be version-matched, as mentioned above. The most important thing is that the server is going to match Apache, or your Apache is not bootable. Can be downloaded in Subversion README.txt view and what version of the servers match 3.subversion decompression after the storage location recommended to store in Apach E file's sibling directory, 4. Configure the environment variables to configure the SVN and Apache bin file directories in path to include the following parameters, whichever is the individual installation location: D:\wamp\bin\apache\apache2.4.4\bin;d:\wamp\bin \svn\bin 5.SVN module introduced in Svn/bin, there are two files that need to be copied to the Apache modules folder in 6. Apache and SVN configuration integration modified Apache configuration file httpd.conf; <1. Introducing SVN's Dependency module

   1:  #svn System Module
   2:  LoadModule dav_module modules/mod_dav.so
   3:  LoadModule dav_fs_module modules/mod_dav_fs.so
   4:  #svn own module
   5:  LoadModule dav_svn_module modules/mod_dav_svn.so
   6:  LoadModule authz_svn_module modules/mod_authz_svn.so

<2. Set the call relationship for Apache and SVN

   1:  <Location/svn>  
   2:  
   3:  svnparentpath "D:/www/depot"
   4:  </Location>

The third line sets the location of the SVN repository depot is the parent directory,

Can be set in the subdirectory, this is just my warehouse location, you can set the self-setting as needed

<3. Reboot system attached: The requested operation has failed error solution

If you restart the system, Wamp cannot start viewing Apache log files Apache_error.log
The last line prompts the requested operation has failed

In this case, check the following:

(1. Check whether the service side supports Apache version

(2. Check if the SVN module was introduced to the Apache Modules folder

(3. Check if the environment variable is modified correctly

(3. Check if the modified Apache configuration file has syntax or an input error

(4. Check if the VSN dependent operating environment is missing can install Microsoft's VC6 and VC9 support libraries: http://www.baidu.com/

(5. If the above is not resolved the correct operation, please restart the computer, if the restart is not resolved

You can enter the following command in CMD to view the line where the Apache error is configured, locate the check error

Httpd.exe-w-N "Wampapache"-K Start

Wampapache refers to the name of the Apache service in the system, different computers may have different names, can be viewed in the list of services

Find the error after the prompt to solve their own, here is not in-depth explanation,

7. Create a warehouse

cmd command line execution: vsnadmin Create D:/www/depot/maliro

Depot is my repository parent directory.

Maliro is a sub-warehouse under my warehouse.

All Vsnadmin commands can be viewed with vsnadmin help.

Create a good warehouse:

8. Test if you have access to the correct access warehouse

<1. In the browser input Localhost/vsn/maliro Maliro is the sub-warehouse name

It is important to note that I have the access directory of localhost pointed to the D:\www directory I created, specifically to modify the configuration in the Apache configuration file

After successfully opening the webpage, you have the following prompt: Maliro-revision 0:/<2. Attached: Could not open the requested SVN filesystem wrong solution if you open the Web prompt Could not open the requested SVN filesystem is the integration with Apache   No problem, but VSN didn't find the warehouse. Please check the following: (1. The parent path of the warehouse is specified correctly in the Apache configuration file (2. If the warehouse is created correctly with the command line and the location and configuration items are created consistently! 9. Set the specified user access to the warehouse <1. ConfigurationServer configuration file
   1:  <Location/svn>  
   2:  
   3:  Svnparentpath D:/www/depot
   4:  
   5:  authzsvnaccessfile "D:\www\depot\authz"
   6:  authuserfile "D:\WWW\DEPOT\PASSWD"
   7:  
   8:  Satisfy any
   9:  Require Valid-user
  Ten:  
  One:  authtype Basic
  :  authname "Welcome to my SVN, but you need input password! (-: "
  :  </Location>
Modify the previous configuration to the fifth line of the above code set the permission profile location line sixth setting the location of the password file is typically stored in the repository's parent directory <2. Add the user to create the file Authz in the directory where the settings are placed and type the following information
   1:  [maliro:/]
   2:  Maliro = RW

maliro:///Indicates that the user setting is acting on the sub-warehouse

Maliro = RW//Set user and user permissions as key-value pairs R--and read operation W–> write <2. Set clear text password Create a file in the specified directory passwd and type the following information maliro:111//key-value pair form settings The password for Maliro is 111 <3. Set the encryption password on the cmd command Line Input command:
   1:  HTAPACHE-CMB d:/www/depo/passwd Maliro 111
Create a MD5Way Encrypted user passwordNote: The c parameter in the command is used to create the file while creating the encrypted user password will overwrite the previous passwd file the best way to use is to specify the-MB parameter can also create the password:
   1:  htapache-b d:/www/depot/passwd Maliro
Create a hash-encrypted user password <4. Attached: Solutions for authentication failure and Password mismatch if you keep typing your password when you visit the SVN server, then view apache_error.log you will find that there is no right to such a sentence literally Limit or password is incorrect, analysis reason: password is not correct certainly exists a user, the user's password does not match. Resolution: (1. Check that the password file exists, and create a password for the specified user (2. Check the VSN configuration password file path in Apache configuration file is correct (3. If you use the command line to create a user, do you have the following directive: Error 1:htapache–c xxxxxxxx Maliro error 2:htapache xxxxxxxx Maliro may be due to a version problem, the encrypted user password created in the advanced version of SVN with such instructions cannot be correctly decrypted to match the specific reference instructions Htapache Help

SVN 1.80 + Apache2.4.4 Integration full Raiders

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.