Running Ubuntu 14.06, apache 2.4.7 and subversion 1.8.8
Here is my dav_svn.conf file
<Location /svn> DAV svn SVNPath /opt/svn/production/ AuthType Basic AuthName "SvnTest" AuthBasicProvider ldap AuthLDAPBindDN "Account Here" AuthLDAPBindPassword "Password Here" AuthLDAPURL "LDAP server here" Require valid-user </location>
When I go to http://localhost/svn, I get this
<D:error xmlns:D="DAV:" xmlns:m="http://apache.org/dav/xmlns" xmlns:C="svn:"> <C:error/> <m:human-readable errcode="2">Could not open the requested SVN filesystem</m:human-readable> </D:error>
In the /var/log/apache2/error.log folder, I see the following entries
mod_dav_svn: nested Location '/svn' hinders access to '' in SVNPath Location '/svn' (20014)Internal error: [client ipaddrhere] Can't open file 'a path here that isn't ANYWHERE/format': No such file or directory
On the /opt/svn/production/ folder I executed chown -R www-data:www-data *
The weird thing is when I change the location from /svn to /production, and go to http://localhost/production, it works. Normally I wouldn't care but the guy in charge of the project wants the url to be http://localhost/svn.
I'm pretty new when it comes to linux, coming from the microsoft land. So I'm sure I'm just missing something dead simple.