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

Re: Trouble configuring Apache with SVN

From: Rainer Sokoll <R.Sokoll_at_intershop.de>
Date: 2007-07-20 22:32:36 CEST

On Fri, Jul 20, 2007 at 01:19:58PM -0700, J Kramer wrote:
> Hi All,
>
> Recently a Trojan took down our server, so I have had to reinstall SVN (we
> have backups of our repository data, so no worries there).
>
> I successfully installed SVN with no problem. I've also installed Apache 2
> and configured SSL for the secure portion of our website.
>
> But I have not been able to configure SVN to work properly.
>
> I have added the following lines to my httpd.conf:
>
> <Location /svn>
> DAV svn
> SVNListParentPath on
> SVNParentPath E:\SVN
> AuthType Basic
> AuthName "Subversion repositories"
> AuthUserFile "C:\Program Files\Apache Group\Apache2\passwd\passwd"
> Require valid-user
> </Location>
>
>
> C:\Program Files\Apache Group\Apache2\passwd\passwd is the same file used
> for authentication for the secure portion of the website. I can get into
> the secure portion of the website, but when I enter the user name and
> password when trying to relocate my local repository, it is rejected. Can
> anyone explain why this is happening?

I vaguely remeber that on Windoze you have to use double backslashes as
path separators.

> Also, is there a way that I can force SVN to accept only secure
> connections. Right now, it seems to accept both http and https connections.

Either mod_rewrite or Redirect or RedirectMatch.

Rainer

---------------------------------------------------------------------
To unsubscribe, e-mail: users-unsubscribe@subversion.tigris.org
For additional commands, e-mail: users-help@subversion.tigris.org
Received on Fri Jul 20 22:31:51 2007

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.