You are viewing a plain text version of this content. The canonical link for it is here.
Posted to users@subversion.apache.org by Gustavo Guerra <gu...@gmail.com> on 2006/03/03 15:35:46 UTC

Making only a portion of the repository accessible from apache

Greetings,

Is it possible to make only a subdirectory of a svn repository accesible in 
apache, instead of the whole repository? I've tryed to use SVNPath 
/path-to-repository/subdir but it didn't work. Can anyone help please?

Best regards,
Gustavo Guerra 


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

Re: Making only a portion of the repository accessible from apache

Posted by Nick Thompson <ni...@agere.com>.
On Friday 03 March 2006 15:35, Gustavo Guerra wrote:
> Greetings,
>
> Is it possible to make only a subdirectory of a svn repository
> accesible in apache, instead of the whole repository? I've tryed to
> use SVNPath /path-to-repository/subdir but it didn't work. Can
> anyone help please?
>
> Best regards,
> Gustavo Guerra

I'm no expert, but I imagine you might be able to do this using httpd 
alias or rewrite functionality. You would have to make the full repo 
available at some address, but you could then have a shorter alias 
for the subdir you want.

I can't use it as a security feature though. You could add that with 
the mod_authz_svn module though.

-- 
> Nick Thompson
> Agere Systems Ltd

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