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

mod_dav_svn as root

From: Dag-Erling Smørgrav <des_at_des.no>
Date: 2006-02-16 19:39:46 CET

I've been trying to set up mod_dav_svn directly on the server root, to
avoid repetition (I want http://svn.example.com/project/, not
http://svn.example.com/svn/project/)

The problem is that the document root also needs to contain some
regular files (favicon.ico, index.html, svnindex.* etc.), and I can't
figure out how to tell Apache to special-case them. For instance, the
following doesn't work:

<Location />
  DAV svn
  SVNParentPath /var/lib/svn
  SVNIndexXSLT "/svnindex.xsl"
  <LimitExcept GET PROPFIND OPTIONS REPORT>
    Require valid-user
  </LimitExcept>
</Location>

<Location ~ "^/(favicon|index|svnindex)">
  DAV off
  SetHandler default-handler
  Order deny,allow
  Allow from all
</Location>

The actual repo browsing part works fine, but it can't access the
stylesheet, and tries to treat favicon.ico as a Subversion repo.

Has anyone successfully done this?

(I'm running Apache 2.0.55 on FreeBSD 7)

DES

-- 
Dag-Erling Smørgrav - des@des.no
---------------------------------------------------------------------
To unsubscribe, e-mail: users-unsubscribe@subversion.tigris.org
For additional commands, e-mail: users-help@subversion.tigris.org
Received on Thu Feb 16 19:42:03 2006

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