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

Re: Reverse Proxy server success stories anyone?

From: Jani Averbach <jaa_at_jaa.iki.fi>
Date: 2003-12-12 05:55:17 CET

On 2003-12-12 15:16+1300, Walter Nicholls wrote:

>
> Has anyone had any success setting up a proxy server in front of a
> Subversion server?
>

Yes, but I am not Apache nor proxy guru by any means, so use following
information at your own risk.

I have an Apache http which is 'public' server, at port 80, and
behind that I have an another Apache server, which is serving as SVN
repository, at localhost on port 42080.

In my firts httpd's conf-file I have:

httpd.conf:
...
<IfModule mod_proxy.c>
        Include /etc/opt/httpd/proxy.conf
</IfModule>
...

And the whole proxy.conf is:

ProxyRequests Off

<Proxy *>
        Order deny,allow
        Allow from all
</Proxy>
<Location /svn>
        ProxyPass http://127.0.0.1:42080/svn
        ProxyPassReverse http://127.0.0.1:42080/svn
</Location>

This has been worked very well for me, I usually access the repository
via ssl, and the second server will take care of user authentication.

The servers are Apache httpd, version 2.0.48, and documentation of
proxies could be found here http://httpd.apache.org/docs-2.0/mod/mod_proxy.html.

BR, Jani

-- 
Jani Averbach
---------------------------------------------------------------------
To unsubscribe, e-mail: users-unsubscribe@subversion.tigris.org
For additional commands, e-mail: users-help@subversion.tigris.org
Received on Fri Dec 12 06:00:19 2003

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.