VISUALSVN Server Modify User password

Source: Internet
Author: User

VISUALSVN server is very easy to use SVN server-side software, but there is a problem, you create a user name password on the server side, the user can not modify the password, it is said that the VISUALSVN client may modify the user password, but the client is paid software.
VISUALSVN server is based on Apache, so passwords can be modified via web pages. After referring to various methods on the Web, I summarize as follows:

0. Confirm the version of Apache that VISUALSVN server uses

C:\Program FILES\VISUALSVN Server\readme.txt

Such as:

This distribution contains the following components:
-Apache Subversion 1.8.11
-Apache HTTP Server 2.2.29
-OpenSSL 1.0.1j
-Serf 1.3.8
-SQLite 3071201
-ZLib 1.2.8


1. In accordance with the principle of minimal modification, htdocs this directory without modification.
2. Need copy Apache mod_cgi.so to C:\Program files\visualsvn server\bin (i installed on C drive). Note The version corresponds to the other. So file versions in this directory. My VISUALSVN server is the 2.1.10,.so file version is 2.2.20.0, so I installed an Apache 2.2.20, just to extract the. so file.
3. Modify C:\Program files\visualsvn server\conf\httpd-custom.conf to add the following:
LoadModule Alias_module bin/mod_alias.so
LoadModule Cgi_module bin/mod_cgi.so
<ifmodule alias_module>
scriptalias/cgi-bin/"C:/Program files/visualsvn server/cgi-bin/"
</IfModule>
The first mod_alias.so is the original one.
4. Download Apache22passwd.rar, create directory C:/Program files/visualsvn server/cgi-bin/, Put Apache22passwd.rar to the directory, modify the Apache22Passwd.cgi.ini, usually this:
auth_user_file=x:/repositories/htpasswd
Apache22passwd.rar is in the CSDN resources.
5. Also copy the Libapr-1.dll, Libapriconv-1.dll, and Libaprutil-1.dll from the Apache bin directory to the Cgi-bin directory of the VISUALSVN server.

Then reboot VISUALSVN Server, enter the HTTPS://SVN server ip/cgi-bin/apache22passwd.cgi (my svn configuration is HTTPS) in IE, and you can see the interface to change the password.

This CGI only supports IE browser, I have tried chrome is not.

In order to avoid the need to install an Apache 2.2.20, I packed the modified file, put it here (VISUALSVN server 2.1.10) (VISUALSVN Server 3.2.2), you just copy to VisualSVN Server installation directory, modify the Apache22Passwd.cgi.ini, it can be used.

VISUALSVN Server Modify User password

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.