[svn.haxx.se] · SVN Dev · SVN Users · SVN Org · TSVN Dev · TSVN Users · Subclipse Dev · Subclipse Users · this month's index

Re: E195019: Redirect cycle detected for URL

From: Bo Berglund <bo.berglund_at_gmail.com>
Date: Mon, 26 Mar 2018 11:32:11 -0500

On Mon, 26 Mar 2018 09:14:30 -0500, "Bo Berglund"
<bo.berglund_at_gmail.com> wrote:

>I am not really versed in Apache configuration files so I would appreciate if someone could say
>what further information I need to supply in order to get to a solution.

I think this is the file that is of interest:
/etc/apache2/mods-enabled/dav_svn.conf:

Alias /svn /var/lib/svn
<Location /svn>
   DAV svn
   SVNParentPath /var/lib/svn
   AuthType Basic
   AuthName "Subversion Repository"
   AuthUserFile /etc/apache2/dav_svn.passwd
   Require valid-user
</Location>

I also looked in /etc/apache2/sites-enabled/default-ssl.conf:

<IfModule mod_ssl.c>
   <VirtualHost _default_:443>
     ServerAdmin bo.berglund_at_somedomain.com
     ServerName home.somedomain.com
     DocumentRoot /var/www/html
     ErrorLog ${APACHE_LOG_DIR}/error.log
     CustomLog ${APACHE_LOG_DIR}/access.log combined
     SSLEngine on
     SSLCertificateFile /etc/ssl/certs/apache-selfsigned.crt
     SSLCertificateKeyFile /etc/ssl/private/apache-selfsigned.key

     <FilesMatch "\.(cgi|shtml|phtml|php)$">
               SSLOptions +StdEnvVars
     </FilesMatch>
     <Directory /usr/lib/cgi-bin>
               SSLOptions +StdEnvVars
     </Directory>
     BrowserMatch "MSIE [2-6]" \
               nokeepalive ssl-unclean-shutdown \
               downgrade-1.0 force-response-1.0

     <Directory "/var/www/html">
                AuthType Basic
                AuthName "Restricted Content"
                AuthUserFile /etc/apache2/private.htpasswd
                Require valid-user
     </Directory>
   </VirtualHost>
</IfModule>

And in /etc/apache2/sites-enabled/000-default.conf:
(even though this should not matter since I am not using port 80 at
all....)

<VirtualHost *:80>
    Redirect "/" "https://192.168.119.216/"

    ServerAdmin bo.berglund_at_somedomain.com
    DocumentRoot /var/www/html
    ErrorLog ${APACHE_LOG_DIR}/error.log
    CustomLog ${APACHE_LOG_DIR}/access.log combined
  <Directory "/var/www/html">
    AuthType Basic
    AuthName "Restricted Content"
    AuthUserFile /etc/apache2/private.htpasswd
    Require valid-user
  </Directory>
</VirtualHost>

Any ideas???

-- 
Bo Berglund
Developer in Sweden
Received on 2018-03-26 18:32:38 CEST

This is an archived mail posted to the Subversion Users mailing list.

This site is subject to the Apache Privacy Policy and the Apache Public Forum Archive Policy.