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

Re: Config Apache Server on Windows XP

From: Andy Levy <andy.levy_at_gmail.com>
Date: Mon, 10 Nov 2008 20:30:55 -0500

On Mon, Nov 10, 2008 at 15:46, Mel <melindasavoy_at_texashealth.org> wrote:
> I've read several things on the subject of my question but I cannot
> find anything specific and could use some help.
>
> We're currently using Clearcase and I'm tasked with trying to see if
> Subversion using TortoiseSVN will work. However, the further I get
> along on in the documentation I'm running into problems on how to
> access a Windows network share where our repository is located. The
> system where the SVN repository is located in on a Windows XP box.
> However, I cannot see SVN in the subclipse setting to access the URL I
> have set below.
>
> I realize in other postings regarding using network shares and in the
> svnbook it says NOT to use network shares due to security issues and
> other factors but this is a test.

All too often, "test" becomes "production." It's better to do things
right from the beginning. Especially when doing it right is easier
than doing it wrong as part of a "test".

> In the httpd file I have the following:
>
> <Location /svn>
> DAV svn
> SVNListParentPath on
> #SVNParentPath C:\SCMIS
> SVNParentPath http://THRServer/SCMIS
> #SVNParentPath D:\SVN
> #SVNIndexXSLT "/svnindex.xsl"
> AuthType Basic
> AuthName "Subversion repositories"
> AuthUserFile passwd
> #AuthzSVNAccessFile svnaccessfile
> Require valid-user
> </Location>

1) SVNParentPath should point at a path which is a directory
containing one or more repositories. Not a URL, and not a path
directly to a repository directory.

2) Apache may interpret the backslash as an escape character. Use c:/
instead of c:\

3) Apache will not see your mapped drive letters, because those are
mapped at the time a user logs on interactively. Apache doesn't log on
interactively, and it doesn't log on as you - therefore, no mapped
drive letter. As a result, you're back to either:
  A) Do it right by not pointing at a repository on a network share
and instead one on a drive local to the server
  B) Do it the hard way, pointing at a repository on a network share
using a UNC path, setting up the permissions on that share such that
the user ID Apache runs under on your "server" has full permissions on
that share. This is usually a major chore because most of the time,
Apache will be running under the local service account and not a
domain account.

---------------------------------------------------------------------
To unsubscribe, e-mail: users-unsubscribe_at_tortoisesvn.tigris.org
For additional commands, e-mail: users-help_at_tortoisesvn.tigris.org
Received on 2008-11-11 02:31:50 CET

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

This site is subject to the Apache Privacy Policy and the Apache Public Forum Archive Policy.