On Oct 22, 2013, at 11:04, "Cooke, Mark" <mark.co...@siemens.com> wrote:

> I am not sure I understand.  Do you want to use `SVNParentPath` to serve a 
> group of repositories without actually revealing the list of repo names?  You 
> should be able to do that be editing the style sheet to not list the actual 
> names but then how are your users going to find their repos?

I don't think so, because the XML data and the XSLT stylesheet are both sent to 
the browser which puts them together to display them; a user could easily 
circumvent a stylesheet by viewing the XML source directly.

If you're using SVNParentPath but don't want to show the list of repositories, 
you simply don't set "SVNListParentPath on".

The directive "Alias /repos /srv/svn/html" matches all locations that *begin* 
with "/repos"; sounds like what you really want is to match only the locations 
"/repos" and "/repos/" exactly. For that you should be able to use something 
like:

AliasMatch ^/repos/?$ /srv/svn/html

Or:

RedirectMatch permanent ^/repos$ /repos/
AliasMatch ^/repos/$ /srv/svn/html

If the index.html page in that directory references any assets (stylesheets, 
images) in the same folder they won't work because the AliasMatch doesn't know 
about them. You could either list those assets in the AliasMatch too, or just 
reference assets from elsewhere on your server.

Reply via email to