SVN support and disabling anonymous user access instances

Source: Internet
Author: User
Tags anonymous intl require svn

Support Anonymous user access


Method One
Found in the SVN installation directory, conf/httpd.conf file, if the manual integration of Apache to find the Apache configuration file.
Found in the

The code is as follows Copy Code

Require Valid-user

To

<limitexcept Get PROPFIND OPTIONS report>
Require Valid-user
</LimitExcept>

Restart the service so that all content under SVN is not required to authenticate the user and can be accessed directly.
Disadvantage: SVN's own access permission settings are invalid. More often we want users to try to access anonymously, if not, in the input username and password authentication access.

Method Two

Add in configuration file

The Satisfy any adds the setting of the Satisfy any, which represents a total of two alternative values that specify the relevant policy when allow (allowed) and require are enabled, all indicating that the user must satisfy both the allow and the require conditions. And any is to satisfy one of them.

Satisfy any indicates that anonymous attempts to access are allowed and access is granted based on Svnauthz control of anonymous users

Disable anonymous user access

(1) Download Netinst ISO installation, software source selection debian.cn99.com;
(2) Edit/etc/default/locale,

Add the following three lines:

The code is as follows Copy Code


Lang= en_US. utf-8                                                                  

Lc_ctype=zh_cn. utf-8                                                              

Language=en_us:en

(3) Dpkg-reconfigure locales, put en_US. Iso8859_1, en_US. UTF-8, ZH_CN. GBK, ZH_CN. UTF-8 selection;

(4) Aptitude purge Vim-tiny && aptitude install xorg GDM fcitx xfce4 xfonts-wqy ttf-arphic-uming vim-full

(5) Reboot or enter the X interface with/ETC/INIT.D/GDM start;
(6) can be loaded with msttcorefonts, Emacs-intl-fonts, Xfonts-intl-chinese.

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.