httpd-dev mailing list archives

Site index · List index
Message view « Date » · « Thread »
Top « Date » · « Thread »
From Randy Terbush <>
Subject Re: per-dir config patch
Date Thu, 25 Jul 1996 01:46:03 GMT
> 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. 

View raw message