Apache combined with SVN notes

Source: Internet
Author: User

?

If you do not combine Apache with subversion alone, then access the repository address in svn://xxx format.

The corresponding configuration file, only need to configure the configuration file in the repository directory Conf.

Configuring User Files passwd

The format is "User name = password" Password is clear text

The permissions configuration is also configured under the current directory of the Authz file

?

?

To combine the configuration of Apache, you do not need to start svnserve.

Configuring Users and permissions at this time needs to be configured within httpd.conf.

?

?

AUTHUSERFILE/OPT/SUBVERSION/CONF/PASSWD # Find this here. passwd File Authentication User

Authzsvnaccessfile/opt/subversion/conf/authz # Find this file here. Verify permissions This permission profile is the same as the permission profile file that is opened separately under SVN.

?

Note where the user profile needs to be generated by using the APACHE/BIN/HTPASSWD tool to generate the password for redaction

?

If you are creating a user file for the first time, add the parameter-C

# htpasswd-c/OPT/SUBVERSION/CONF/PASSWD Niusipeng

Then prompt to enter 2 times password

?

The-c parameter is not required if the user file is not created for the first time

#htpasswd/opt/subversion/conf/passwd Zhangsan

Then prompt to enter 2 times password

?

With Apache-generated user files and permission profiles, the user profiles and permissions profiles in conf in the original SVN directory are useless.

?

?

Nginx Forwarding:

?

Nginx will forward the request packet is intact forwarded to Apache

Apache combined with SVN notes

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.