首页 > 解决方案 > 使用网页登录svn时出现500错误

问题描述

我尝试使用SVN和apache管理svn,配置后
使用web打字地址检查出现500错误

错误日志

[Mon May 10 09:14:35.501150 2021] [mpm_event:notice] [pid 22453:tid 140165298974016] AH00489: Apache/2.4.46 (Ubuntu) configured -- resuming normal operations
[Mon May 10 09:14:35.501352 2021] [core:notice] [pid 22453:tid 140165298974016] AH00094: Command line: '/usr/sbin/apache2'
[Mon May 10 09:18:27.982376 2021] [mpm_event:notice] [pid 22453:tid 140165298974016] AH00491: caught SIGTERM, shutting down
[Mon May 10 09:18:28.057982 2021] [mpm_event:notice] [pid 24328:tid 139662261734720] AH00489: Apache/2.4.46 (Ubuntu) SVN/1.14.0 configured -- resuming normal operations
[Mon May 10 09:18:28.058165 2021] [core:notice] [pid 24328:tid 139662261734720] AH00094: Command line: '/usr/sbin/apache2'
[Mon May 10 09:18:28.793737 2021] [mpm_event:notice] [pid 24328:tid 139662261734720] AH00491: caught SIGTERM, shutting down
[Mon May 10 09:18:28.860882 2021] [mpm_event:notice] [pid 24447:tid 140255199706432] AH00489: Apache/2.4.46 (Ubuntu) SVN/1.14.0 configured -- resuming normal operations
[Mon May 10 09:18:28.861081 2021] [core:notice] [pid 24447:tid 140255199706432] AH00094: Command line: '/usr/sbin/apache2'
[Mon May 10 09:31:59.429175 2021] [mpm_event:notice] [pid 24447:tid 140255199706432] AH00491: caught SIGTERM, shutting down
[Mon May 10 09:31:59.499585 2021] [mpm_event:notice] [pid 24945:tid 140024749526336] AH00489: Apache/2.4.46 (Ubuntu) SVN/1.14.0 configured -- resuming normal operations
[Mon May 10 09:31:59.499807 2021] [core:notice] [pid 24945:tid 140024749526336] AH00094: Command line: '/usr/sbin/apache2'
[Mon May 10 09:32:34.779622 2021] [authz_core:error] [pid 24947:tid 140024657999424] [client 172.18.200.30:39477] AH01627: AuthType configured with no corresponding authorization directives
[Mon May 10 09:34:38.435495 2021] [authz_core:error] [pid 24946:tid 140024641214016] [client 172.18.200.30:39482] AH01627: AuthType configured with no corresponding authorization directives
[Mon May 10 09:35:03.878995 2021] [authz_core:error] [pid 24946:tid 140024624428608] [client 172.18.200.30:19909] AH01627: AuthType configured with no corresponding authorization directives
[Mon May 10 09:40:07.632667 2021] [authz_core:error] [pid 24946:tid 140024506996288] [client 172.18.200.30:39503] AH01627: AuthType configured with no corresponding authorization directives
[Mon May 10 09:40:13.668464 2021] [authz_core:error] [pid 24946:tid 140024490210880] [client 172.18.200.30:19888] AH01627: AuthType configured with no corresponding authorization directives
[Mon May 10 09:40:20.223923 2021] [authz_core:error] [pid 24946:tid 140024473425472] [client 172.18.200.30:39505] AH01627: AuthType configured with no corresponding authorization directives
[Mon May 10 09:40:21.043812 2021] [authz_core:error] [pid 24946:tid 140023575864896] [client 172.18.200.30:19886] AH01627: AuthType configured with no corresponding authorization directives
[Mon May 10 09:40:21.612104 2021] [authz_core:error] [pid 24946:tid 140023559079488] [client 172.18.200.30:39506] AH01627: AuthType configured with no corresponding authorization directives
[Mon May 10 09:40:21.813853 2021] [authz_core:error] [pid 24946:tid 140023542294080] [client 172.18.200.30:19885] AH01627: AuthType configured with no corresponding authorization directives
[Mon May 10 09:40:57.234524 2021] [authz_core:error] [pid 24946:tid 140023181604416] [client 172.18.200.30:39507] AH01627: AuthType configured with no corresponding authorization directives
[Mon May 10 09:41:07.065028 2021] [authz_core:error] [pid 24946:tid 140023164819008] [client 172.18.200.30:19883] AH01627: AuthType configured with no corresponding authorization directives
[Mon May 10 09:56:35.544482 2021] [authz_core:error] [pid 24946:tid 140024649606720] [client 172.18.200.30:39563] AH01627: AuthType configured with no corresponding authorization directives
[Mon May 10 09:58:18.412621 2021] [mpm_event:notice] [pid 24945:tid 140024749526336] AH00491: caught SIGTERM, shutting down
[Mon May 10 09:58:18.484447 2021] [mpm_event:notice] [pid 25073:tid 140209807826240] AH00489: Apache/2.4.46 (Ubuntu) SVN/1.14.0 configured -- resuming normal operations
[Mon May 10 09:58:18.484681 2021] [core:notice] [pid 25073:tid 140209807826240] AH00094: Command line: '/usr/sbin/apache2'
[Mon May 10 09:58:32.114254 2021] [authz_core:error] [pid 25074:tid 140209781380672] [client 172.18.200.30:39568] AH01627: AuthType configured with no corresponding authorization directives
[Mon May 10 09:58:33.066142 2021] [authz_core:error] [pid 25074:tid 140209542919744] [client 172.18.200.30:19824] AH01627: AuthType configured with no corresponding authorization directives
[Mon May 10 09:58:33.280573 2021] [authz_core:error] [pid 25074:tid 140209526134336] [client 172.18.200.30:19823] AH01627: AuthType configured with no corresponding authorization directives
[Mon May 10 09:58:33.462580 2021] [authz_core:error] [pid 25074:tid 140209509348928] [client 172.18.200.30:39569] AH01627: AuthType configured with no corresponding authorization directives
[Mon May 10 09:58:33.648681 2021] [authz_core:error] [pid 25074:tid 140209140266560] [client 172.18.200.30:39570] AH01627: AuthType configured with no corresponding authorization directives
[Mon May 10 10:04:20.467995 2021] [mpm_event:notice] [pid 25073:tid 140209807826240] AH00491: caught SIGTERM, shutting down
[Mon May 10 10:05:26.075200 2021] [mpm_event:notice] [pid 25213:tid 140703510154560] AH00489: Apache/2.4.46 (Ubuntu) SVN/1.14.0 configured -- resuming normal operations
[Mon May 10 10:05:26.075426 2021] [core:notice] [pid 25213:tid 140703510154560] AH00094: Command line: '/usr/sbin/apache2'

和 dav_svn.conf 是

<Location /svn>
  DAV svn 
  SVNPath /home/svn
  AuthType Basic
  AuthName "Subversion Repository"
  AuthUserFile /etc/apache2/dav_svn.passwd 
  AuthzSVNAccessFile /etc/apache2/dav_svn.authz 

</Location>

我试图找到一些解决方案, https: //www.directadmin.com/features.php?id=1446 但我找不到 .htaccess 文件,不知道该怎么做

标签: apachesvn

解决方案


推荐阅读