Apache-2.2

無法在顛覆儲存庫中創建名為“mysql”的目錄

  • October 18, 2012

我對顛覆有一個特殊的問題。

環境:subversion (1.6.12dfsg-6), apache2 (2.2.16-6+squeeze7) + mod dav_svn。

我無法在我的儲存庫中創建名為“mysql”或“testmysql”的目錄或添加並送出名為“mysql.txt”的文件。

google等有很多關於“subversion PROPSET 403禁止”問題的參考。

但我可以使用顛覆的所有功能。我還可以創建一個名為“hugo”或“test”的目錄。我的儲存庫正常工作。

只有“mysql”不起作用。

出現以下錯誤:

The server encountered an unexpected return value (403 Forbidden) in response to the 
request for MKCOL »/svn/repository/!svn/wrk/8123484e-8890-412d-92ed-62ceabcd4189
/etc/mysql" returned

/var/log/apache2/access.log

192.168.178.200 - - [time] "OPTIONS /svn/repository/etc HTTP/1.1" 401 6156 "-" "SVN/1.6.12 (r955767) neon/0.29.3"
192.168.178.200 - user1 [time] "OPTIONS /svn/repository/etc HTTP/1.1" 200 1028 "-" "SVN/1.6.12 (r955767) neon/0.29.3"
192.168.178.200 - user1 [time] "MKACTIVITY /svn/repository/!svn/act/6564e2e2-19be-4a09-bcb6-61a1cfb097e8 HTTP/1.1" 201 676 "-" "SVN/1.6.12 (r955767) neon/0.29.3"
192.168.178.200 - user1 [time] "PROPFIND /svn/repository/etc HTTP/1.1" 207 676 "-" "SVN/1.6.12 (r955767) neon/0.29.3"
192.168.178.200 - user1 [time] "CHECKOUT /svn/repository/!svn/vcc/default HTTP/1.1" 201 692 "-" "SVN/1.6.12 (r955767) neon/0.29.3"
192.168.178.200 - user1 [time] "PROPPATCH /svn/repository/!svn/wbl/6564e2e2-19be-4a09-bcb6-61a1cfb097e8/157 HTTP/1.1" 207 580 "-" "SVN/1.6.12 (r955767) neon/0.29.3"
192.168.178.200 - user1 [time] "PROPFIND /svn/repository/etc HTTP/1.1" 207 564 "-" "SVN/1.6.12 (r955767) neon/0.29.3"
192.168.178.200 - user1 [time] "CHECKOUT /svn/repository/!svn/ver/157/etc HTTP/1.1" 201 692 "-" "SVN/1.6.12 (r955767) neon/0.29.3"
192.168.178.200 - user1 [time] "MKCOL /svn/repository/!svn/wrk/6564e2e2-19be-4a09-bcb6-61a1cfb097e8/etc/mysql HTTP/1.1" 403 596 "-" "SVN/1.6.12 (r955767) neon/0.29.3"
192.168.178.200 - user1 [time] "DELETE /svn/repository/!svn/act/6564e2e2-19be-4a09-bcb6-61a1cfb097e8 HTTP/1.1" 204 165 "-" "SVN/1.6.12 (r955767) neon/0.29.3"

有沒有人見過這個?

感謝您的任何建議。

聽起來你的 apache 配置中有一些東西拒絕了這些帶有“mysql”的 URL。您是否仔細查看過您的配置?在那裡嘗試 grep 的“mysql”。

引用自:https://serverfault.com/questions/439701