httpd-users mailing list archives

Site index · List index
Message view « Date » · « Thread »
Top « Date » · « Thread »
From Scott Genevish <sgenev...@mimedx.com>
Subject RE: [users@httpd] Setting up Apache Subversion
Date Fri, 02 Aug 2013 22:26:39 GMT
OK, I figured out a solution based on this message:

http://tigris-scm.10930.n7.nabble.com/TortoiseSVN-1-4-0-Build-7195-fails-when-Apache-sends-301-Redirect-td39856.html

I added this line to the httpd.conf file where the other lines like it were placed:

BrowserMatch "TortoiseSVN" redirect-carefully

-Scott


-----Original Message-----
From: Scott Genevish [mailto:sgenevish@mimedx.com] 
Sent: Friday, August 02, 2013 6:12 PM
To: users@httpd.apache.org
Subject: RE: [users@httpd] Setting up Apache Subversion

I'm a little confused by this suggestion.  I think the RedirectMatch line is just redirecting
URL's that have a path of "/svn" to "/svn/" so the slash is added to work around the issue
shown here:  http://svn.haxx.se/users/archive-2010-06/0398.shtml

I tried changing the RedirectMatch line to:

RedirectMatch ^(/svn) $1/

And now I get:

Unable to connect to a repository at URL 'http://10.224.48.53:8080/svn/main'
Repository moved temporarily to 'http://10.224.48.53:8080/svn'; please relocate

.....which seems to make sense.  It's redirecting /svn/main/ to /svn/

-Scott

-----Original Message-----
From: Macks, Aaron [mailto:amacks@harvardbusiness.org]
Sent: Friday, August 02, 2013 4:44 PM
To: <users@httpd.apache.org>
Cc: users@httpd.apache.org
Subject: Re: [users@httpd] Setting up Apache Subversion

Slash versus no slash.  You're redirecting things that aren't /svn to /svn/ (note the trailing
slash). I think if you remove the $ from the regex it should work A

On Aug 2, 2013, at 4:28 PM, "Scott Genevish" <sgenevish@mimedx.com> wrote:

> I'm getting an error when I try to checkout a subversion repository, "Redirect cycle
detected for URL 'http://10.224.48.53:8080/svn/main'".  This seems to be a misconfiguration
in Apache, which is why I came here, but please correct me if I'm wrong.  
> 
> The key sections of the subversion.conf are:
> 
> #######################################
> # Work around authz and SVNListParentPath issue RedirectMatch ^(/svn)$ 
> $1/
> 
> <Location /svn/>
>        DAV svn
>        SVNParentPath /var/www/html/svn
>        #SVNPath /var/www/html/svn/main
>        #List repositories collection
>        SVNListParentPath on
>        SVNPathAuthz off
>        #Enable WebDAV automatic versioning
>        SVNAutoversioning on
>        #Repository Display Name
>        SVNReposName "MiMedx SVN Repositories"
> </Location>
> ##########################################
> 
> The access_log shows:
> 
> ##########################################
> 10.224.129.178 - - [02/Aug/2013:15:32:11 -0400] "OPTIONS /svn/main HTTP/1...1" 401 482
"-" "SVN/1.7.10/TortoiseSVN-1.7.13.24257 neon/0.29.6"
> 10.224.129.178 - sgenevish [02/Aug/2013:15:32:11 -0400] "OPTIONS /svn/main HTTP/1.1"
301 323 "-" "SVN/1.7.10/TortoiseSVN-1.7.13.24257 neon/0.29.6"
> 10.224.129.178 - - [02/Aug/2013:15:32:11 -0400] "OPTIONS /svn/main HTTP/1...1" 401 482
"-" "SVN/1.7.10/TortoiseSVN-1.7.13.24257 neon/0.29.6"
> 10.224.129.178 - sgenevish [02/Aug/2013:15:32:11 -0400] "OPTIONS /svn/main HTTP/1.1"
301 323 "-" "SVN/1.7.10/TortoiseSVN-1.7.13.24257 neon/0.29.6"
> 10.224.129.178 - - [02/Aug/2013:15:32:12 -0400] "OPTIONS /svn/main HTTP/1...1" 401 482
"-" "SVN/1.7.10/TortoiseSVN-1.7.13.24257 neon/0.29.6"
> 10.224.129.178 - sgenevish [02/Aug/2013:15:32:12 -0400] "OPTIONS /svn/main HTTP/1.1"
301 323 "-" "SVN/1.7.10/TortoiseSVN-1.7.13.24257 neon/0.29.6"
> 10.224.129.178 - - [02/Aug/2013:15:32:12 -0400] "OPTIONS /svn/main HTTP/1...1" 401 482
"-" "SVN/1.7.10/TortoiseSVN-1.7.13.24257 neon/0.29.6"
> 10.224.129.178 - sgenevish [02/Aug/2013:15:32:12 -0400] "OPTIONS /svn/main HTTP/1.1"
301 323 "-" "SVN/1.7.10/TortoiseSVN-1.7.13.24257 neon/0.29.6"
> ##########################################
> 
> I don't think there's anything particularly relevant in httpd.conf, except maybe:
> 
> ##########################################
> ServerRoot "/etc/httpd"
> Listen 8080
> DocumentRoot "/var/www/html"
> ##########################################
> 
> There are no symbolic links in the directory.
> 
> Thanks,
> 
> -Scott
> This email message and any attachments are for the sole use of the above-named intended
recipient(s). This email and any attachments are confidential and proprietary to MiMedx Group,
Inc. and may also contain certain privileged attorney-client information. This information
is intended only for the use of the individual entity or intended recipient addressed above.
You are not to use, disclose, distribute or disseminate this email by any means without the
expressed permission of MiMedx Group, Inc. If you are not the intended recipient, or the employee
or agent responsible for delivering  this email to the intended recipient, you are hereby
notified that any use, disclosure, printing, copying, distribution or dissemination by any
means of this email or any attachments is strictly prohibited. If you have received this email
in error, please immediately notify the sender by telephone at (678) 384-6720 or by reply
email and delete this email and any attachments and destroy all hard copies. Thank you. 
> 
> 
> 
> 
> ---------------------------------------------------------------------
> To unsubscribe, e-mail: users-unsubscribe@httpd.apache.org
> For additional commands, e-mail: users-help@httpd.apache.org
> 

---------------------------------------------------------------------
To unsubscribe, e-mail: users-unsubscribe@httpd.apache.org
For additional commands, e-mail: users-help@httpd.apache.org

This email message and any attachments are for the sole use of the above-named intended recipient(s).
This email and any attachments are confidential and proprietary to MiMedx Group, Inc. and
may also contain certain privileged attorney-client information. This information is intended
only for the use of the individual entity or intended recipient addressed above. You are not
to use, disclose, distribute or disseminate this email by any means without the expressed
permission of MiMedx Group, Inc. If you are not the intended recipient, or the employee or
agent responsible for delivering  this email to the intended recipient, you are hereby notified
that any use, disclosure, printing, copying, distribution or dissemination by any means of
this email or any attachments is strictly prohibited. If you have received this email in error,
please immediately notify the sender by telephone at (678) 384-6720 or by reply email and
delete this email and any attachments and destroy all hard copies. Thank you. 




---------------------------------------------------------------------
To unsubscribe, e-mail: users-unsubscribe@httpd.apache.org
For additional commands, e-mail: users-help@httpd.apache.org

This email message and any attachments are for the sole use of the above-named intended recipient(s).
This email and any attachments are confidential and proprietary to MiMedx Group, Inc. and
may also contain certain privileged attorney-client information. This information is intended
only for the use of the individual entity or intended recipient addressed above. You are not
to use, disclose, distribute or disseminate this email by any means without the expressed
permission of MiMedx Group, Inc. If you are not the intended recipient, or the employee or
agent responsible for delivering  this email to the intended recipient, you are hereby notified
that any use, disclosure, printing, copying, distribution or dissemination by any means of
this email or any attachments is strictly prohibited. If you have received this email in error,
please immediately notify the sender by telephone at (678) 384-6720 or by reply email and
delete this email and any attachments and destroy all hard copies. Thank you. 




---------------------------------------------------------------------
To unsubscribe, e-mail: users-unsubscribe@httpd.apache.org
For additional commands, e-mail: users-help@httpd.apache.org


Mime
View raw message