Subversion behind apache 2.4 proxy - Connection refused

Gunnar Grim <[email protected]>
Newsgroups gmane.comp.version-control.subversion.user
Message-ID <[email protected]>
Hi!

I have subversion running in a Docker container and everything works 
fine if I connect directly to it, but I really need to run subversion 
behind an Apache 2.4 proxy. For now I'm not using https, just trying to 
get it to work with as simple setup as possible.

I have tried to use the FAQ instructions, 
https://subversion.apache.org/faq.html#reverseproxy, but they are 
written for an older Apache version so I have tried to modify them for 2.4.

Browsing the repos with Firefox works fine but it fails with the svn 
client and SmartSVN:

> svn info http://localhost/svn/test/svn-test-project
> svn: E170013: Unable to connect to a repository at URL 
> 'http://localhost/svn/test/svn-test-project'
> svn: E000111: Error running context: Connection refused
This is my proxy configuration:
>    ProxyRequests Off
>    ProxyVia on
>
>    <Proxy *>
>        Require all granted
>    </Proxy>
>
>    ProxyPass /svn/ http://localhost:7280/svn/
>    <Location /svn/>
>      ProxyPassReverse http://localhost:7280/svn/
>      <Limit OPTIONS PROPFIND GET REPORT MKACTIVITY PROPPATCH PUT 
> CHECKOUT MKCOL MOVE COPY DELETE LOCK UNLOCK MERGE>
>          Require all granted
>      </Limit>
>      RewriteCond %{HTTP:Destination} .+/(svn/.*$)
>      RewriteRule ^/svn/.* - [E=MyDestination:http://localhost:7280/%1,PT]
>      RequestHeader set Destination %{MyDestination}e env=MyDestination
> </Location>

When I use the browser all accesses are logged but with the svn client 
nothing is logged to the access- or error logs, even with log level debug.

Hope someone can see what is wrong with my configuration.

TIA,
Gunnar
lmpx.com only provides a reader for public news (NNTP) servers. It is not affiliated with the servers or forums shown here and is not responsible for the content of articles, which is written by their respective authors.