Hi,
I'm not sure this is exactly a Subversion question per se, but it's
regarding my Subversion deployment, I've only come across this issue in
setting up Subversion, and I figure others in this list may have come
across it.
Basically I would like to be able to have the following all go to the
right place:
https://rev.foo.org/
https://rev.foo.org/index.html
https://rev.foo.org/subversion.xsl
https://rev.foo.org/pix/foologo.gif
https://rev.foo.org/prj/calc
https://rev.foo.org/site/foo.org
The first three are standard static documents; the fourth is a logo in a
directory that does NOT represent a repository, and the last two
reference projects in the "prj" and "site" repositories.
The reason I want to do it this way are: (1) I would like to retain the
basic browsing (until I have time to try out mod_svn_view); (2) I would
like to shorten the URLs and not have to have "repos/" prepended to the
repositories; (3) I'd like to have a basic table-of-contents index.html
page; (4) it seems like it should be possible, I've wrestled with it for
a while, and now I'm just curious.
The closest I have gotten is to forget about having a non-repository
"pix/" directory, so that everything trailing a slash is a repository.
I have done that using the location tag like so:
<Location ~ "/.+/">
...
</Location>
I can browse using the web and Apache seems to be able to serve up the
right stuff. However, using the SVN command-line client, I have problems:
svn: REPORT request failed on '/.+/prj/!svn/vcc/default'
svn: Unusable URI: it does not refer to this repository
Originally I tried using multiple <Location> sections:
<Location />
DAV svn
SVNParentPath /svn/repos
...
</Location>
<Location /pix>
# not subversion!
Allow from all
</Location>
Various documents around the web suggested this should work--later
location sections override the earlier, and this makes sense from a
machine-parsing perspective. It didn't work.
Other docs seemed to imply they'd match in the order they were
configured. So I put the /pix location section first. That didn't work
either. In both cases Subversion picked it up and tried to access
"pix/" as a repository.
I'm kind of stumped. Has anybody else tried this, or am I special?
Cheers,
Drew.
---------------------------------------------------------------------
To unsubscribe, e-mail: users-unsubscribe@subversion.tigris.org
For additional commands, e-mail: users-help@subversion.tigris.org
Received on Tue Jul 5 07:14:36 2005