[英]500 Internal Server Error on Subversion Commit / USVN / Raspberry Pi
我在我的Raspberry Pi上使用用戶友好的SVN 。 Pi與Debian Wheezy一起運行。
創建存儲庫正在運行,我可以檢查並更新存儲庫而不會有任何問題。 但是當我創建一個文件,將其添加到存儲庫並嘗試提交時,我收到此消息:
svn: E175002: Commit failed (details follow):
svn: E175002: Server sent unexpected return value (500 Internal Error) in response to POST request for '/usvn/svn/test/!svn/me'
svn: E175002: Your commit message was left in a temporary file:
svn: E175002: '/svntest/test/svn-commit.tmp'
error.log中沒有任何內容,但在access.log中我可以找到:
192.168.10.34 - - [22/Sep/2013:10:23:14 +0200] "OPTIONS /usvn/svn/test/trunk HTTP/1.1" 401 653 "-" "SVN/1.7.5 neon/0.29.6"
192.168.10.34 - admin [22/Sep/2013:10:23:17 +0200] "OPTIONS /usvn/svn/test/trunk HTTP/1.1" 200 1347 "-" "SVN/1.7.5 neon/0.29.6"
192.168.10.34 - admin [22/Sep/2013:10:23:18 +0200] "POST /usvn/svn/test/!svn/me HTTP/1.1" 500 548 "-" "SVN/1.7.5 neon/0.29.6"
SVN-Path具有www-data的讀寫訪問權限。
我能做什么?
我遇到了同樣的問題,對py3r3str的修復不滿意。 我想出如果我更改了usvn / public / .htaccess文件,我可以從重寫規則中排除repos,這解決了我的問題:
<Files *.ini>
Order Allow,Deny
Deny from all
</Files>
php_flag short_open_tag on
php_flag magic_quotes_gpc off
RewriteEngine on
#RewriteCond
RewriteBase "//usvn/"
RewriteRule ^svn/ - [L,NC] #this is the rule I added to fix the 500 errors
RewriteCond %{REQUEST_FILENAME} -f [OR]
RewriteCond %{REQUEST_FILENAME} -l [OR]
RewriteCond %{REQUEST_FILENAME} -d
RewriteRule ^.*$ - [NC,L]
RewriteRule ^.*$ index.php [NC,L]
我有同樣的問題。 我注意到/ svn / test /!svn / me請求是由usvn web應用程序而不是svn服務器捕獲的。 我對此問題的解決方案是更改適用於我的svn服務器的子域。
干杯
你是64位操作系統嗎?
我遇到了與win7 64Bit相同的錯誤,而不是win7 32bit。
嘗試刪除tortoise 64並為32位操作系統安裝tortoise SVN:
我無法避免艾倫的htaccess描述方法中的錯誤。 所以我解決這個問題。
<Files *.ini>
Order Allow,Deny
Deny from all
</Files>
php_flag short_open_tag on
php_flag magic_quotes_gpc off
<IfModule mod_rewrite.c>
RewriteEngine on
RewriteBase /usvn
RewriteCond %{REQUEST_FILENAME} !-f
RewriteCond %{REQUEST_FILENAME} !-d
RewriteCond %{REQUEST_FILENAME} !-l
RewriteRule !^svn\/ index.php [L]
</IfModule>
聲明:本站的技術帖子網頁,遵循CC BY-SA 4.0協議,如果您需要轉載,請注明本站網址或者原文地址。任何問題請咨詢:yoyou2525@163.com.