You are viewing a plain text version of this content. The canonical link for it is here.
Posted to users@subversion.apache.org by Çağatay Çatal <ca...@bte.mam.gov.tr> on 2006/05/01 12:26:21 UTC

problem about "multiple repository" svnaccessfile

Hi

I wanted to create 2 repositories for my Projects.

I have created a directory in K driver which is called SVNProjects.

This directory has AProject and BProject folders and each of them

Has a repository. Actually, I was using Subversion for just AProject but

We wanted to change the directory to support more than 1 project.

 

SVNProjects

            ProjectA

            ProjectB

 

 

I have copied all repository from old driver to new location. I mean,
/SVNProjects/ProjectA

Now I access old repository but i can not access new one.

 

To do this process, I created 2 locations as given below:

http://localhost:90/svn-project1/ProjectA

I can Access to the project given above but I can not Access listed below:

http://localhost:90/svn-project2/ProjectB

 

Please note that I just created the repository inside ProjectB directory and

I did not import it. Do I have to import it?

 

According to some web pages, I have to create 2 locations as given below and
use SVNPath to be able to Access svnaccessfile.

Its not possible to use SVNParentPath with AuthzSVNAccessFile.

Is it true?

 

Thank you for your any kind help and interest

    <Location /svn-project1> 
        Dav svn 
        SVNPath K:/SVNProjects/ProjectA

        AuthType Basic 
        AuthName "Subversion Repository" 
        AuthzSVNAccessFile svnaccessfile 
        Require valid_user 
    </Location> 

    <Location /svn-project2> 
        Dav svn 
        SVNPath K:/SVNProjects/ProjectB

        AuthType Basic 
        AuthName "Subversion Repository" 
        AuthzSVNAccessFile svnaccessfile 
        Require valid_user 
    </Location> 

 

 

Cagatay

 


Re: problem about "multiple repository" svnaccessfile

Posted by Ryan Schmidt <su...@ryandesign.com>.
On May 1, 2006, at 14:26, Çağatay Çatal wrote:

[snip]

> To do this process, I created 2 locations as given below:
>
> http://localhost:90/svn-project1/ProjectA
>
> I can Access to the project given above but I can not Access listed  
> below:
>
> http://localhost:90/svn-project2/ProjectB
[snip]
> According to some web pages, I have to create 2 locations as given  
> below and use SVNPath to be able to Access svnaccessfile.
>
> Its not possible to use SVNParentPath with AuthzSVNAccessFile.
>
> Is it true?
I don't know the answer to that...

>     <Location /svn-project1>
>         Dav svn
>         SVNPath K:/SVNProjects/ProjectA
>
>         AuthType Basic
>         AuthName "Subversion Repository"
>         AuthzSVNAccessFile svnaccessfile
>         Require valid_user
>     </Location>
>
>     <Location /svn-project2>
>         Dav svn
>         SVNPath K:/SVNProjects/ProjectB
>
>         AuthType Basic
>         AuthName "Subversion Repository"
>         AuthzSVNAccessFile svnaccessfile
>         Require valid_user
>     </Location>

All I can say is that based on this configuration, your repository  
URLs would not contain the strings "ProjectA" or "ProjectB"; they'd  
just be:

http://localhost:90/svn-project1

http://localhost:90/svn-project2





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