.htaccess and virtual <Location> directives



Hello everyone.

I have recently installed WebSVN on a subdomain, and encountered a weird problem. When trying to ‘lock’ access to certain directories from anonymous access by requiring a login using htpasswd2 and a modified subversion AUTHZ file, I quickly realized that WebSVN (as far as I can tell) creates subdirectories dynamically.

For example, if I were to go to www.mysite.com/, then click on a link to a repository, the CGI script is creating www.mysite.com/myrepo/foo – which does not exist. Does anyone know of a way I can hack my .htaccess file to allow virtual directory authentication?

Thanks in advance.

Glen Barber