How to solve svn: E195019: redirect loop detected, in my case?

I know that there are other questions that look the same, but I could not find anything useful for my particular case.

My server URL is: http://servername.domain.com ZPanel is installed on my server, so the path to this is on the server: / Var / zpanel / hostdata / username / public _html / servername_domain_com /

I created a subfolder "svn", configured SVN to use this folder and created repositories inside it, changed the owner, etc. Surfing works on it, requires a login, and then you can see "Revision 0". But when you try to check or do something, it will give an error from the name.

I installed SVN and put this as a configuration.

< 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 an idea why it is not working? I have not changed the virtualhosts file, it just contains the default link for servername.domain.com.

Thanks!

+6
source share
1 answer

If /var/zpanel/hostdata/username/public_html/servername_domain_com/ is your DocumentRoot (for example, / svn is a physical subdirectory), you have the wrong Apache configuration:

One path cannot be a physical directory and a logical path defined as a location, at the same time

You must move SVNParentPath outside of web space

+6
source

All Articles