httpd-users mailing list archives

Site index · List index
Message view « Date » · « Thread »
Top « Date » · « Thread »
From Freek Dijkstra <>
Subject Re: [users@httpd] allow autoindex for a directory, but not for its subdirectories
Date Mon, 23 Aug 2010 22:30:36 GMT
Freek Dijkstra wrote:

> Again, I really still don't understand the purpose of the AP_REG_NOTEOL
> flag. [...] The
> more I think about it, the less sense it makes.

Here is the history:

r76312 (1996-01-14)
src/main/http_request.c, initial revision

  if (is_matchexp(entry_dir) && !strcmp_match(this_dir, entry_dir)) {

r76659 (1996-07-25)
src/main/http_request.c, allow <Directory> and <Location> to use regex.

  if (!regexec(entry_core->r, test_dirname, 0, NULL,
       (j == num_sec) ? 0 : REG_NOTEOL)) {

r78909 (1997-08-06)
src/main/http_request.c, directory_walk optimization reducing the core
loop from O(N*M) to O(N+M).

  if (!regexec(entry_core->r, test_dirname, 0, NULL, REG_NOTEOL)) {

r83226 (1999-05-21)
src/main/http_request.c, use new api stub function

  if (!ap_regexec(entry_core->r, test_dirname, 0, NULL, REG_NOTEOL)) {

r83750 (1999-08-24)
modules/http/http_request.c, Obtained from Apache 1.3.9

  if (!ap_regexec(entry_core->r, test_dirname, 0, NULL, REG_NOTEOL)) {

r88453 (2001-03-05)
move to server/request.c

  if (ap_regexec(entry_core->r, r->filename, 0, NULL, REG_NOTEOL)) {

r90684 (2005-02-11)
server/request.c, change constant namespace

  if (ap_regexec(entry_core->r, r->filename, 0, NULL, AP_REG_NOTEOL)) {

REG_NOTEOL was added from the very beginning, although it would work for
the last section.

while it was nice seeing a (very small) part of Apache's history, it did
learn me nothing.


The official User-To-User support forum of the Apache HTTP Server Project.
See <URL:> for more info.
To unsubscribe, e-mail:
   "   from the digest:
For additional commands, e-mail:

View raw message