Hi!
I have a Debian 5.0.7 installed to my server. I try to install Apache and SVN to this server. I use this tutorial:
http://www.howtoforge.com/subversion...-ubuntu-server
But is unfortunately not working.
My apache virtual host configuration file is:
Code:
<VirtualHost *:80>
ServerName svn.test
<Location /test>
DAV svn
AuthType Basic
AuthName "svn.test"
AuthUserFile /var/local/svn/svn.test/conf/passwd
AuthzSVNAccessFile /var/local/svn/svn.test/conf/authz
SVNPath /var/local/svn/svn.test
Require valid-user
</Location>
CustomLog /var/log/apache2/svn.test/access.log combined
ErrorLog /var/log/apache2/svn.test/error.log
</VirtualHost>
This passwd file containing 1 user:
Code:
user:*****(I hide this :))
The rights for the passwd file:
Code:
-rwxrwxrwx 1 www-data www-data 24 Dec 30 19:50 passwd
And apache2 is running like this:
Code:
ps axu | grep apache2
root 21597 0.0 4.3 14040 2820 ? Ss Dec30 0:00 /usr/sbin/apache2 -k start
www-data 21599 0.0 4.4 14280 2908 ? S Dec30 0:00 /usr/sbin/apache2 -k start
www-data 21601 0.0 4.3 14208 2856 ? S Dec30 0:00 /usr/sbin/apache2 -k start
www-data 21603 0.0 4.4 14280 2908 ? S Dec30 0:00 /usr/sbin/apache2 -k start
www-data 21604 0.0 4.3 14208 2856 ? S Dec30 0:00 /usr/sbin/apache2 -k start
www-data 21605 0.0 3.2 14040 2156 ? S Dec30 0:00 /usr/sbin/apache2 -k start
www-data 21641 0.0 3.2 14040 2160 ? S Dec30 0:00 /usr/sbin/apache2 -k start
And if I try to login to my page I got an "Internal Server Error" page.
And my error is in the apache log is this:
Code:
(13)Permission denied: Could not open password file: /var/local/svn/svn.test/conf/passwd
So I'm a little bit confused about it. The apache2 should have rights to open this file. I checked it, the file is exist and the apache2 is have rights for it. I don't understand it.
Have anybody idea about it?