[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: Jerry Haltom <wasabi_at_larvalstage.net>
Date: 2005-05-04 16:51:33 CEST

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
Received on Wed May 4 16:53:44 2005

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.