Login | Register
My pages Projects Community openCollabNet

Discussions > users [DISABLED] > Re: SVN appache configuration.

Discussion topic

Back to topic list

Re: SVN appache configuration.

Author Corey Shaw <cshaw at q90 dot com>
Full name Corey Shaw <cshaw at q90 dot com>
Date 2009-04-01 19:44:06 PDT
Message 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​@ryandesign.com>
To: hessiess at hessiess dot com
Cc: users at subversion dot tigris dot 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 dot 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/sub​version/apache-subve​rsion-
> 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@s​ubversion.tigris.org​].

« Previous message in topic | 3 of 4 | Next message in topic »


Show all messages in topic

SVN appache configuration. hessiess at hessiess dot com hessiess at hessiess dot com 2009-03-31 12:13:33 PDT
     Re: SVN appache configuration. ryandesign Ryan Schmidt 2009-04-01 16:55:06 PDT
         Re: SVN appache configuration. Corey Shaw <cshaw at q90 dot com> Corey Shaw <cshaw at q90 dot com> 2009-04-01 19:44:06 PDT
         Re: SVN appache configuration. cmcqueen1975 Craig McQueen 2009-04-01 20:21:39 PDT
Messages per page: