Take the 2-minute tour ×
Server Fault is a question and answer site for professional system and network administrators. It's 100% free, no registration required.

As stated in the title, we are experiencing 502 / bad gateway/proxy errors in the following environment: SVN over HTTPS through Apache on Windows 2008 R2. These errors occur specifically when doing copies, merge operations or branching.

As an additional note, we are using LDAP for authentication.

We've read through numerous posts with similar issues, but haven't been able to resolve our solution. This post seems similar, but the solutions given do not resolve it for us: http://stackoverflow.com/questions/2479346/502-bad-gateway-with-nginx-apache-subversion-ssl-svn-copy

Perhaps we are placing the following line of code in the wrong place? Can anyone give direction on where that should go specifically?

RequestHeader edit Destination ^https http early

share|improve this question
    
Could you post any errors from apache's error log? –  Jayen Oct 15 '10 at 3:29
    
Just regular 502 errors - nothing helpful otherwise. I think we're putting the "REquestHeader edit..." entry in the wrong place I just can't figure out where it belongs. –  Joshua Oct 16 '10 at 21:36

1 Answer 1

up vote 1 down vote accepted

The article quoted and linked below should set you on the right track:

... except for commits which copy or move files/directories. This is because the DAV requests COPY and MOVE use the header Destination to contain the full target path of the operation.

If you are using Apache 2.0 or 2.2 for your subversion server, you need to backport mod_headers from the HEAD revision of Apache. Fortunately this is not very difficult for this particular module.

Subversion behind an Apache Reverse Proxy (includes instructions to resolve issue and a mod_rewrite workaround which looks promising)

share|improve this answer
    
Looks very promising. We will try in the next day or so and check back to this thread to update. –  Joshua Oct 20 '10 at 14:21

Your Answer

 
discard

By posting your answer, you agree to the privacy policy and terms of service.

Not the answer you're looking for? Browse other questions tagged or ask your own question.