Redirect cycle detected when trying to update or check out

28 views
Skip to first unread message

Michael Mall

unread,
Sep 2, 2020, 12:01:42 PM9/2/20
to TortoiseSVN-dev
I am running SVN ver 1.6.11 on a CentOS 6.x server. I have made the repos available via Apache Web server. I have TortoiseSVN client on my Win 10 computer.

Everything was working fine until a few weeks ago. But, now, when I try to check out a repo or run "Update" on an existing local copy of any repo, I get "Redirecting to url https://myurl" followed by "Redirect cycle detected for url".

Interestingly, I can commit changes with no problem. It is only when I try to update a local copy or check out a repo that I have the problem.  Also, I am able to access the repos via web browser and get a list of repo files and directories.

I have been searching for a solution for several days.  In several cases, such as in the URLs below, the advice given was to comment out an Alias pointing "/svn" to the root of the SVN reposlitories, such as the line "Alias /svn /var/lib/svn".  In my case, no such alias was set in any of the Apache *.conf files.  For good measure, I actually added this alias and tried both with and without the alias being set.  I got the same result both ways.


I also found several articles indicating this problem could be caued by symbolic links pointing to the same path as that in the conf file for the SVN directory.  I did not find any such symbolic links.

Some articles indicated that this issue is likely an Apache webserver config issue in which the DocumentRoot and Location directives conflict. Below are the relevant lines from my ssl.conf file. If there is a problem with the relationship between DocRoot and Location, I don't see it.


#Alias /svn /disk2/usvn/files/svn

<VirtualHost *:443>

DocumentRoot "/disk2/usvn/files"

ServerName myhostname.com

...

<Location /svn>

ErrorDocument 404 default

DAV svn

Require valid-user

SVNParentPath /disk2/usvn/files/svn

SVNListParentPath on

AuthType Basic

AuthName "USVN"

AuthUserFile /disk2/usvn/files/htpasswd

AuthzSVNAccessFile /disk2/usvn/files/authz

</Location>

...

</VirtualHost>

Stefan

unread,
Sep 3, 2020, 10:44:12 AM9/3/20
to TortoiseSVN-dev
for help with server setup, please ask on the Subversion users mailing list:
Reply all
Reply to author
Forward
0 new messages