You are viewing a plain text version of this content. The canonical link for it is here.
Posted to users@subversion.apache.org by Richard Piatkowski <ar...@gmx.de> on 2006/07/22 20:05:46 UTC
Repository layout and configuration of apache
Hi...
we are setting up a subversion server to manage our projects.
Because the number of independent projects is high, we chose to use
the one repository-per-project system.
The subversion server is running as a part of apache2.
We are managing our peoject through our intranet system.
Every project has a number, so i wanted to manage the different
subversion repositories by simply enumerating them.
while the amount of repositories is low, it is quite easy to add a
apache directive for each repository. but with more than 500
repositories/projects it would be nice to find an automatic way.
so I am trying to change my apache configuration directive to use
a regular expresion that redirect each http request to a repository.
but it seems, that the apache is ignoring every kind of regular
expression.
a simple example:
<LocationMatch /test_1>
DAV svn
SVNPath "d:\svn_repos\test_1"
</LocationMatch>
The above configuration is working, while
<LocationMatch /test_[0-9]{1}>
DAV svn
SVNPath "d:\svn_repos\test_1"
</LocationMatch>
is not working at all.
Why? Any ideas?
---------------------------------------------------------------------
To unsubscribe, e-mail: users-unsubscribe@subversion.tigris.org
For additional commands, e-mail: users-help@subversion.tigris.org
Re: Repository layout and configuration of apache
Posted by Jacob Atzen <ja...@aub.dk>.
On Sat, Jul 22, 2006 at 10:05:46PM +0200, Richard Piatkowski wrote:
> while the amount of repositories is low, it is quite easy to add a
> apache directive for each repository. but with more than 500
> repositories/projects it would be nice to find an automatic way.
>
> so I am trying to change my apache configuration directive to use
> a regular expresion that redirect each http request to a repository.
> but it seems, that the apache is ignoring every kind of regular
> expression.
>
> a simple example:
>
> <LocationMatch /test_1>
> DAV svn
> SVNPath "d:\svn_repos\test_1"
> </LocationMatch>
Take a look at SvnParentPath, I think that'll do what you're looking
for.
--
Cheers,
- Jacob Atzen
---------------------------------------------------------------------
To unsubscribe, e-mail: users-unsubscribe@subversion.tigris.org
For additional commands, e-mail: users-help@subversion.tigris.org