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

RE: Open repository located on a network share in Windows

From: <ed.wittmann_at_fiserv.com>
Date: 2005-05-04 17:57:36 CEST

 
it can work but with the caveat that the apache process must be running as
a user that exists on both the local machine and in the domain - otherwise
it won't work at all.
-----Original Message-----
From: wasabi@larvalstage.net [mailto:wasabi@larvalstage.net]
Sent: Wednesday, May 04, 2005 10:52 AM
To: Kevin.Marino@neighborcare.com
Cc: users@subversion.tigris.org
Subject: Re: Open repository located on a network share in Windows

I can tell you that a network drive letter probably won't work. Windows
drive letter mappings are stored as part of the profile of Each User, they
are not machine wide (haven't been since nt4 i believe). This means that
even if you log in, make the mapping, Apache can't see it (unless it's
running in the same environment, not as a service).

The UNC path should work though. Can we get the error message in that
case?

On Tue, 2005-05-03 at 16:13 -0400, Marino Kevin wrote:
> I am new to Apache and have had no luck in setting up a directive to
> open a repository located on either a network share or by using UNC
> naming.
>
> We currently have one repository setup and working. I have the
> following currently
>
> <Location /svn>
> DAV svn
> # any /svn/foo URL will map to a repository D:/svn/foo
> SVNParentPath "F:/SVN/"
> AuthType Basic
> AuthName "Subversion repository"
> AuthUserFile passwd
> AuthzSVNAccessFile svnaccessfile
> Require valid-user
> </Location>
>
>
> Now I thought I could add the following
>
> <Location /svn_new>
> DAV svn
> # any /svn/foo URL will map to a repository D:/svn/foo
> SVNParentPath "H:/SVN/" #THIS IS THE NETWORK SHARE
> AuthType Basic
> AuthName "Subversion repository"
> AuthUserFile passwd
> AuthzSVNAccessFile svnaccessfile
> Require valid-user
> </Location>
>
> The only real twist to this is that the shared drive is on a server in
> a different domain, though I did create the user account Apache uses
> on the other server so the mapped drive had no issues.
>
> I have also tried just using "SVNPath" in both, with no luck. I
> continue to get the could not open repository XML message. Also the
> logs say file can't be found.
>
> Any thoughts would be greatly appreciated.
> Kevin
>
>
> ---------------------------------------------------------------------
> To unsubscribe, e-mail: users-unsubscribe@subversion.tigris.org
> For additional commands, e-mail: users-help@subversion.tigris.org
>

---------------------------------------------------------------------
To unsubscribe, e-mail: users-unsubscribe@subversion.tigris.org
For additional commands, e-mail: users-help@subversion.tigris.org

---------------------------------------------------------------------
To unsubscribe, e-mail: users-unsubscribe@subversion.tigris.org
For additional commands, e-mail: users-help@subversion.tigris.org
Received on Wed May 4 17:59:58 2005

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