I'm new to Subversion repository administration - after reading the O'Reilly
book "Version Control with Subversion", and following the instructions there
and on the web site, I've got a repository installed under "/var/svn/repos":

[jdavies@hostname repos]$ pwd
/var/svn/repos
[jdavies@hostname repos]$ ls
README.txt  conf  dav  db  format  hooks  locks

I want to expose this over HTTP, so I've added the following to my Apache
config:

<Location /repos>
  DAV svn
  SVNPath /var/svn/repos
  AuthType Basic
  AuthName "Subversion Repository"
  AuthUserFile /path/to/auth-file
  Require valid-user
  Order deny,allow
  Deny from all
  Allow from ...
  Allow from ...
  Allow from ...
</Location>

(slightly edited, of course).

Everything seems to be working, but when I load my repository from a web
server - e.g.

https://hostname/repos

I see my projects listed, along with the Subversion repository internals:

repos - Revision 64: /

   - Project1
   - README.txt <https://dev01.2xoffice.com/repos/README.txt>
   - conf/ <https://dev01.2xoffice.com/repos/conf/>
   - db/ <https://dev01.2xoffice.com/repos/db/>
   - format <https://dev01.2xoffice.com/repos/format>
   - hooks/ <https://dev01.2xoffice.com/repos/hooks/>
   - P <https://dev01.2xoffice.com/repos/integration/>roject2
   - locks/ <https://dev01.2xoffice.com/repos/locks/>
   - Project3

What have I gotten wrong here?  I'm sure there's a way to have only the
projects, and not the repository internals, exposed.

Reply via email to