You are viewing a plain text version of this content. The canonical link for it is here.
Posted to dev@httpd.apache.org by Randy Terbush <ra...@zyzzyva.com> on 1996/07/25 03:46:03 UTC
Re: per-dir config patch
> Here's a patch that implements some of the functionality I've been talking
> about the last few days. It does four things:
>
> 1) Contains the patch I submitted earlier to make <Location> work only on
> directory segments.
>
> 2) Adds a pregcomp() function to alloc.c (also adds #include
> "regex/regex.h" to conf.h).
>
> 3) Adds a <Files> directive. This works akin to how I'm given to
> understand the Netscape Server directive of the same name works. It works
> very much like <Directory>, except it applies to all files, not just
> directories. So you can do <Files /some/path/to/a/file.html>. You can also
> put <Files> into an .htaccess file. It supports relative pathnames, so you
> can put <Files file.gif> in /www/.htaccess and it will apply to
> /www/file.gif.
>
> 4) Allows <Directory>, <Location> and <Files> to use regular expressions
> instead of simple prefix matching or wildcard matching. The syntax is:
Looks great! I say +1.
Re: per-dir config patch
Posted by Brian Behlendorf <br...@organic.com>.
On Wed, 24 Jul 1996, Randy Terbush wrote:
> Looks great! I say +1.
+1 as well.
Brian
--=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=--
brian@organic.com www.apache.org hyperreal.com http://www.organic.com/JOBS