Just a quick question, but one I haven't yet been able to find an
answer to online.  Is there any way to reset/override a Location
directive in Apache 2?  Specifically, I'm using mod_dav to serve up
some SVN repositories, so I have something kind of like this:

<Location />
    DAV svn
    SVNParentPath /var/svn/repos

    # misc auth and stuff
</Location>

The problem is that now we want to put some additional non-svn files
into a directory in the root of this virtual host, but we don't want
the Subversion DAV settings to be applied (we want the files served
directly with Apache, not run through mod_dav.  I've tried adding
something like this to the site config:

<Location /other_stuff/>
    DAV Off
    AuthType None

    # just want apache to serve these files statically
</Location>

But that doesn't seem to disable the mod_dav and svn settings from
being applied to the child Location (that is, browsing the files still
gives the SVN "could not open svn filesystem" error).  I have also
tried applying the settings using a Directory directive, but that
didn't work either.

Does anyone know if there is a way to either disable or override a
sub-Location like this?  I realize the subversion repositories
shouldn't be in the root of the site but this has been in place for a
while now and we'd rather not need to force all the users of the repos
to svn switch.

Thanks,

Nick
--------------------
BYU Unix Users Group 
http://uug.byu.edu/ 

The opinions expressed in this message are the responsibility of their
author.  They are not endorsed by BYU, the BYU CS Department or BYU-UUG. 
___________________________________________________________________
List Info (unsubscribe here): http://uug.byu.edu/mailman/listinfo/uug-list

Reply via email to