On 1/18/07, Jason Keltz <[EMAIL PROTECTED]> wrote:
I'm wondering whether Apache allows me to have a dynamic Local directive
where I could do something like this:
<Location /repos/*>
.
SVNParentPath /local/subversion/repos/$1
.
AuthUserFile /local/suversion/auth/$1/svnpasswd
.
.
.
AuthzSVNAccessFile /local/subversion/auth/$1/authz
.
.
</Location>
If Apache lets me do this, I don't need a Location directive for EACH
repository.
The way I would do this is by using mod_perl. Then you can use perl in
your apache config, and use this to iterate over a set of dirs, and
add location blocks to your config.
Krist
--
[EMAIL PROTECTED]
Bremgarten b. Bern, Switzerland
--
"...what you don't realize is that in the future Google WILL reach
sentience, will [have had] invent[ed] a time machine, and will [have
had] travel[ed] back in time to prevent Bill Gates... only to become
Bill Gates by accident because of a search engine optimization
miscalculation." (Comment on the Dilbert Blog)
---------------------------------------------------------------------
The official User-To-User support forum of the Apache HTTP Server Project.
See <URL:http://httpd.apache.org/userslist.html> for more info.
To unsubscribe, e-mail: [EMAIL PROTECTED]
" from the digest: [EMAIL PROTECTED]
For additional commands, e-mail: [EMAIL PROTECTED]