[svn.haxx.se] · SVN Dev · SVN Users · SVN Org · TSVN Dev · TSVN Users · Subclipse Dev · Subclipse Users · this month's index

RE: Apache is exposing my Subversion repository internals (e.g. conf, db, hooks, etc.)

From: Bob Archer <Bob.Archer_at_amsi.com>
Date: Fri, 24 Jun 2011 12:32:47 -0400

> On Fri, Jun 24, 2011 at 11:26 AM, Stefan Sperling <stsp_at_elego.de>
> wrote:
> On Fri, Jun 24, 2011 at 11:05:32AM -0500, Joshua Davies wrote:
> > 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.
> It's a wild guess, but maybe you didn't load mod_dav_svn into
> Apache?
>
> Nope, here are my modules:
>
> LoadModule dav_svn_module modules/mod_dav_svn.so
> LoadModule authz_svn_module modules/mod_authz_svn.so
>
> but thanks for the quick response!
>

Can you use the svn cmd line client to list your repository using the file protocol. Perhaps someone imporated the repo folders into the repository?

BOb
Received on 2011-06-24 18:33:19 CEST

This is an archived mail posted to the Subversion Users mailing list.