Hi.
As I have understood, many people confuse SVNPath and SVNParenPath
directives. But it is not my problem, I belive.
This is part from my Apache conf:
<VirtualHost *:80>
ServerAdmin webmaster@domain.tld
ServerName svn.domain.tld
#<Location /repo1>
<Location />
Dav svn
#SVNPath /home/svn/repo1
SVNParentPath /home/svn
AuthType Basic
AuthName "Subversion Repository"
AuthUserFile /home/www/domain.tld/users/passwords
AuthGroupFile /home/www/domain.tld/users/groups
Require group svn
</Location>
</VirtualHost>
/home/svn owned by Apache user and group with chmod 0755.
/home/svn/repo1 created with `snvadmin create repo1` with the same
user:group and permissions.
Yes, there is only one repository, but I plan to use one more.
And all worked fine while I not try to add new file to repo:
$ echo "Just a test..." > test2.txt
$ svn add test.txt
A test.txt
$ svn ci test.txt -m "Test"
subversion/libsvn_client/commit.c:873: (apr_err=2)
svn: Commit failed (details follow):
subversion/libsvn_ra_dav/util.c:826: (apr_err=2)
svn: OPTIONS request failed on '/repo1/trunk/htdocs/tmp'
subversion/libsvn_ra_dav/util.c:389: (apr_err=2)
svn: Could not open the requested SVN filesystem
In apache logs:
/usr/local/apache2/logs # tail -n 4 error.log
[Fri Jan 20 23:09:20 2006] [error] [client 123.456.78.90]
(20014)Internal error: Can't open file '/home/svn/trunk/format': No
such file or directory
[Fri Jan 20 23:09:20 2006] [error] [client 123.456.78.90] Could not
fetch resource information. [500, #0]
[Fri Jan 20 23:09:20 2006] [error] [client 123.456.78.90] Could not
open the requested SVN filesystem [500, #2]
[Fri Jan 20 23:09:20 2006] [error] [client 123.456.78.90] Could not
open the requested SVN filesystem [500, #2]
Whence /home/svn/trunk/format turned out and why it's needed to open this file?
If I change location path to /repo1 and
SVNParentPath /home/svn
to
SVNPath /home/svn/repo1
then adding a new file goes well:
$ echo "Second test..." > test2.txt
$ svn add test2.txt
A test2.txt
$ svn ci test2.txt -m "Test 2"
Adding test.txt
Transmitting file data .
Committed revision 256.
What I do wrong?
Is it chance that problem is in configuration of my Squid proxy?
--
Best regards,
Eugene Janusov.
Received on Fri Jan 20 21:34:03 2006