Hello, i'm trying to make up svn + apache.
Let me explain what i hope to have: server directory /DATA/svn will contain all my repository so for exemple, my test project will be in /DATA/svn/test I want to acces via http to svn. So i need a vhost svn.monpoulpe.com who match svn repository. http://svn.monpoulpe.com will display websvn maybe, and http://svn.monpoulpe.com/test will display my test repository (curently, no web gui is installed) (i already have apache who work fine) So, that's what i do: aptitude install subversion libapache2-svn subversion-tools enscript mkdir /DATA/svn/test -p svnadmin create /DATA/svn/test and i've edited some files: /etc/apache2/sites-available/svn.monpoulpe.com : <VirtualHost *> Servername svn.monpoulpe.com DocumentRoot /var/www/svn.monpoulpe.com/ <Directory /var/www/svn.monpoulpe.com> Options Indexes FollowSymLinks MultiViews AllowOverride None Order allow,deny allow from all </Directory> <Location /> DAV svn SVNPath /DATA/svn AuthType Basic AuthName "Subversion Repository" AuthUserFile /var/www/include/svn.monpoulpe.com.htpassword AuthzSVNAccessFile /DATA/svn/config Require valid-user </Location> <Location /test> DAV svn SVNParentPath /DATA/svn AuthType Basic AuthName "Subversion test" AuthUserFile /var/www/include/svn.monpoulpe.com.htpassword AuthzSVNAccessFile /DATA/svn/config Require valid-user </Location> ErrorLog /var/log/apache2/svn_error.log CustomLog /var/log/apache2/svn_access.log combined </VirtualHost> /DATA/svn/conf : [/] * = anonymous = r [test:/] test = rw chown www-data:subversion /DATA/svn -R chmod 770 /DATA/svn -R chmod g+s /DATA/svn -R /etc/init.d/apache2 restart And when i try to go to http://svn.monpoulpe.com/test i have a 403 forbiedden error in my apache2 logs: (13)Permission denied: Failed to load the AuthzSVNAccessFile: Can't open file '/DATA/svn/config': Permission denied authz_user and dav_svn apache modules are already loaded. Is anybody have an idea?