SVN 1.80 + Apache2.4.4 Integration full Raiders _php tutorial

Source: Internet
Author: User
Tags apache log tortoisesvn
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
1. Download the file Note: The client and server version of the same TORTOISESVN is the client program needs to download and install can download address: http://sourceforge.net/projects/tortoisesvn/files/?source= NavBar English is not good can download a client's Chinese plugin, must be installed in the client installation download address: Http://downloads.sourceforge.net/tortoisesvn/LanguagePack_ 1.8.1.24570-win32-zh_cn.msi?download Subversion is the SVN server is a compressed package this article mainly introduces the configuration of this compression package download address: 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 download address: 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 won't boot up. README.txt view and what version of servers match in the downloaded Subversion1:#svn system Modules
   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:  
 
            
 
          
   2:  
   3:  svnparentpath "D:/www/depot"
   4:  

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 library download address: 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

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:

<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

The following tips are available when you successfully open a webpage:

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 repository is specified correctly in the Apache configuration file 1:
   2:  
   3:  svnparentpath D:/www/depot
   4:  
   5:  "D:\www\depot\authz"
   6:  "D:\WWW\DEPOT\PASSWD"
   7:  
   8:  Satisfy any
   9:  Require Valid-user
  10:  
One   :  authtype Basic
  :  "Welcome to my SVN, but you need input password! (-: "
  13:  
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 Operation <2. Set clear text password Create a file in the specified directory passwd and type the following information ma liro:111//Key-value pair form set Maliro's password 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 MD5 encrypted user password Note: 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 a sentence that literally means no permissions 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 the command line is used to create a user, the instruction is: error 1:htapache–c xxxxxxxx m Aliro 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 <本章结束 .> The end of this chapter. If you have any questions or corrections, please leave a message or email:290334962@qq.com

http://www.bkjia . com/phpjc/440161.html www.bkjia.com true http://www.bkjia.com/phpjc/ 440161.html techarticle

  • 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.