Svnserve. conf: Option expected Solution

Source: Internet
Author: User


After a beginner configures a Subversion server based on svnserve,
This error occurs when the client accesses the Subversion database:
Svnserve. conf: 12: Option expected
Why is this error because the configuration file svnserve. conf with leading spaces cannot be identified when the Subversion reads the configuration file svnserve. conf, as shown in
### This file controls the configuration of the svnserve daemon, if you
### Use it to allow access to this repository. (If you only allow
### Access through http: and/or file: URLs, then this file is
### Irrelevant .)
### Visit http://subversion.tigris.org/for more information.
[General]
### These options control access to the repository for Unauthenticated
### And authenticated users. Valid values are "write", "read ",
### And "NONE". The sample settings below are the defaults.
Anon-access = read
Auth-access = write
Like in the configuration file above, anon-access is the top line, and there is no problem, while auth-access has leading spaces, which will cause this error.
To avoid this error, we should also remove the leading space when removing the # Before these rows.

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.