httpd-dev mailing list archives

Site index · List index
Message view « Date » · « Thread »
Top « Date » · « Thread »
From "Joshua Slive" <jos...@slive.ca>
Subject RE: [BUG] <Location /dir> doesn't work as expected when there is a /dir in the DocumentRoot
Date Thu, 28 Feb 2002 15:53:35 GMT

> From: Sander Striker [mailto:striker@apache.org]

> Today Vlad Skvortsov <vss@high.net.ru> stumbled over
> a, IMO, showstopper.
>
> He was trying out subversion and had a config where
> (simplified):
>
> DocumentRoot /home/svn
>
> <Location /home/svn/repos>
>    DAV svn
>    SVNPath /home/svn/repos
> </Location>
>
> In the /home/svn path, there is a directory repos.
> The directory seems to win over the Location (badness!).

I may be missing something obvious, but let me make sure that you aren't:

That location section only matches http://example.com/home/svn/repos/ so it
seems perfectly resonable that if you request http://example.com/repos/ it
will fall through to the actual directory.

I think what you want is <Location /repos> or <Directory /home/svn/repos>

Joshua.


Mime
View raw message