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

Re: svn operating through proxy?

From: David Summers <david_at_summersoft.fay.ar.us>
Date: 2002-06-27 22:11:42 CEST

I've been doing Subversion SSL since last November.

My RPMs set it up automatically where you just have to set your SSL key
and uncomment a couple of relavent lines in the subversion section of the
Apache configuration httpd.conf file (see the subversion/packages/rpm
directory), like so:

# Begin Subversion server configuration - Please don't delete this line.
#<Location /svn/repos>
# DAV svn
# SVNPath /home/svnroot
#
# # Limit write permission to list of valid users.
# <LimitExcept GET PROPFIND OPTIONS REPORT>
# # Uncomment the following line to Require SSL connection for
password protection.
# # SSLRequireSSL
#
# AuthType Basic
# AuthName "Authorization Realm"
# AuthUserFile /absolute/path/to/passwdfile
# Require valid-user
# </LimitExcept>
#</Location>
# End Subversion server configuration - Please don't delete this line.

If you can get SSL going at all then you should be able to just uncomment
the SSL part of the above configuration for subversion and it should work.

Please let me know if you encounter any problems and I'll be glad to try
to help out.

   - David Summers

On Thu, 27 Jun 2002, Tim Moloney wrote:

> David Summers wrote:
>
> > I've set up to run via HTTPS when I authenticate to a server
> > so that I don't have to type my password in the clear across
> > the net.
>
> How did you do that? I couldn't get SSL working with Apache 2.0.
> Granted, I'm certainly no Apache expert. I haven't tried in a
> couple of weeks. Maybe Apache 2.0 handles SSL better now.
>
> I'm currently running
>
> bash> /usr/local/apache2/bin/httpd -v
> Server version: Apache/2.0.37-dev
> Server built: Jun 10 2002 13:45:09
>
> Here's my (minimalist) httpd.conf file:
>
> #
> # General configuration
> #
> ServerRoot "/usr/local/apache2"
> PidFile logs/httpd.pid
> Timeout 300
> KeepAlive On
> MaxKeepAliveRequests 100
> KeepAliveTimeout 15
> StartServers 5
> MinSpareServers 5
> MaxSpareServers 10
> MaxClients 150
> MaxRequestsPerChild 0
> Listen 81
> User apache
> Group apache
> UseCanonicalName Off
>
> #
> # Modules
> #
> LoadModule log_config_module modules/mod_log_config.so
> LoadModule mime_module modules/mod_mime.so
> LoadModule ldap_module modules/mod_ldap.so
> LoadModule auth_module modules/mod_auth.so
> LoadModule auth_ldap_module modules/mod_auth_ldap.so
> LoadModule dav_module modules/mod_dav.so
> LoadModule dav_svn_module modules/mod_dav_svn.so
>
> #
> # Logging
> #
> ErrorLog logs/error_log
> LogLevel warn
> LogFormat "%h %l %u %t \"%r\" %>s %b" common
> CustomLog logs/access_log common
>
> #
> # MIME
> #
> TypesConfig conf/mime.types
> DefaultType text/plain
>
> #
> # Documents
> #
> DocumentRoot "/var/svn"
> <Location /svn/test>
> DAV svn
> SVNPath /var/svn/test
> AuthName "Test repository"
> AuthType Basic
> Require valid-user
> AuthLDAPURL ldap://ldap.mrsl.com/ou=people,dc=mrsl,dc=com
> </Location>
>
> Thanks. =)
>
>

-- 
David Wayne Summers          "Linux: Because reboots are for upgrades!"
david_at_summersoft.fay.ar.us   PGP Key: http://summersoft.fay.ar.us/~david/pgp.txt
PGP Key fingerprint =  C0 E0 4F 50 DD A9 B6 2B  60 A1 31 7E D2 28 6D A8 
---------------------------------------------------------------------
To unsubscribe, e-mail: dev-unsubscribe@subversion.tigris.org
For additional commands, e-mail: dev-help@subversion.tigris.org
Received on Thu Jun 27 22:12:10 2002

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