I know there are other questions that look the same, but I wasn't able to find anything useful for my exact case.
My server's URL is: http://servername.domain.com My server has ZPanel installed, so the path to this in the server is: /var/zpanel/hostdata/username/public_html/servername_domain_com/
I created a subfolder "svn", set up SVN to use that folder and created repos inside it, changed the owner etc. Surfing to it works, requires login and then you can see "Revision 0". But when trying to check out or do anything, it will give the error from the title.
I installed SVN and put this as the config.
< Location /svn>
DAV svn
SVNParentPath /var/zpanel/hostdata/username/public_html/servername_domain_com/svn
AuthType Basic
AuthName "Subversion repositories"
AuthUserFile /etc/svn-auth-users
Require valid-user
< / Location>
Do you have any idea why it isn't working? I didn't change the virtualhosts file, it simply contains the default link for the servername.domain.com.
Thanks!
If /var/zpanel/hostdata/username/public_html/servername_domain_com/
is your DocumentRoot
(i.e. /svn is physical subdirectory), you have misconfiguration from Apache's side:
Single path can not be physical directory and logical path, defined as Location, at the same time
You must to move SVNParentPath outside web-space
If you love us? You can donate to us via Paypal or buy me a coffee so we can maintain and grow! Thank you!
Donate Us With