You are viewing a plain text version of this content. The canonical link for it is here.
Posted to dev@httpd.apache.org by Robert Simonson <si...@us.ibm.com> on 2002/03/01 20:18:19 UTC

[PATCH] problem

Looks like this code was removed in August.  Without it the FancyIndexing
is never
done in the following example:

<Directory ~ "^/abc/(a-z){5}">
IndexOptions FancyIndexing
</Directory>


===================================================================
--- core.c.old    Fri Mar  1 12:53:09 2002
+++ core.c  Fri Mar  1 12:54:18 2002
@@ -1503,6 +1503,7 @@
      cmd->path = ap_getword_conf(cmd->pool, &arg);
         if (!cmd->path)
             return "<Directory ~ > block must specify a path";
+        r = ap_pregcomp(cmd->pool, cmd->path, REG_EXTENDED|USE_ICASE);
     }
     else if (thiscmd->cmd_data) { /* <DirectoryMatch> */
      r = ap_pregcomp(cmd->pool, cmd->path, REG_EXTENDED|USE_ICASE);



Rob Simonson
simo@us.ibm.com




Re: [PATCH] problem

Posted by Greg Ames <gr...@remulak.net>.
Robert Simonson wrote:
> 
> Looks like this code was removed in August.  Without it the FancyIndexing
> is never
> done in the following example:
> 
> <Directory ~ "^/abc/(a-z){5}">
> IndexOptions FancyIndexing
> </Directory>

Committed.  Thanks, Rob.

Greg