在配置 SVN 和 Apache 结合的时候,出现错误 log
[Thu Oct 17 22:53:03.174656 2019] [authn_file:error] [pid 7740] (13)Permission denied: [client 10.0.0.10:50429] AH01620: Could not open password file: /home/svn/repository/conf/svn.passwd
subversion.conf 配置
# Needed to do Subversion Apache server.
LoadModule dav_svn_module modules/mod_dav_svn.so
# Only needed if you decide to do "per-directory" access control.
LoadModule authz_svn_module modules/mod_authz_svn.so
<Location /svn>
DAV svn
SVNPath /home/svn/repository/repos201911/
AuthType Basic
AuthName "Authorization SVN Repo"
AuthUserFile /home/svn/repository/conf/svn.passwd
AuthzSVNAccessFile /home/svn/repository/conf/svn.authz
Require valid-user
</Location>
/home/svn/repository/repos201911
/home/svn/repository/conf/
上面这两个目录均执行了chown -R apache.apache
授权命令
SELINUX=disabled
是关闭的,而且重启了机器也还是这个错误。
各位老铁们还有什么地方要检查的么?