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

Re: SVN appache configuration.

From: Corey Shaw <cshaw_at_q90.com>
Date: Wed, 1 Apr 2009 20:44:02 -0600 (MDT)

You can always create a virtual host that listens on port 80 that simply redirects to port 443:

<VirtualHost *:80>
ServerName svn.example.com
Redirect / https://svn.example.com/ permanent

<VirtualHost *:443>
ServerName svn.example.com

.... Virtual Host SSL settings


I currently use this on my company's SVN repository.

----- Original Message -----
From: "Ryan Schmidt" <subversion-2009a_at_ryandesign.com>
To: hessiess_at_hessiess.com
Cc: users_at_subversion.tigris.org
Sent: Wednesday, April 1, 2009 5:54:45 PM GMT -07:00 US/Canada Mountain
Subject: Re: SVN appache configuration.

On Mar 31, 2009, at 14:13, hessiess_at_hessiess.com wrote:

> I have managed to get SVN working with Apache and HTTPS, by
> folowing the
> guide located at
> http://www.geocities.com/arhuaco/doc/subversion/apache-subversion-
> in-debian.html
> (Im using Ubuntu).
> however the repository is also available using plain HTTP. Is there
> any
> way to make SVN available only over HTTPS without disabling
> listening on
> port 80?

Looking over those instructions briefly, it looks like their
instructions state that you should put the <Location /svn/src> block
inside the <VirtualHost *:443> block. This will cause the repository
to only be available over https.

> Also, if a browser is pointed at the svn repository's url it is
> visible
> over the web, even though it is password protected, I would prefer
> it if
> this was not possible.

Again, looking briefly at their instructions, their <Location> block
includes the directive "Require valid-user". This will cause a
password to be required.

You may also wish to read the official documentation available at:



To unsubscribe from this discussion, e-mail: [users-unsubscribe_at_subversion.tigris.org].


To unsubscribe from this discussion, e-mail: [users-unsubscribe_at_subversion.tigris.org].
Received on 2009-04-02 13:56:23 CEST

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