httpd-dev mailing list archives

Site index · List index
Message view « Date » · « Thread »
Top « Date » · « Thread »
From Dan Jacobowitz <>
Subject Re: [PATCH] Add '+' and '-' to IndexOptions keywords
Date Fri, 25 Sep 1998 22:19:05 GMT
On Fri, Sep 25, 1998 at 04:33:55PM -0400, Rodent of Unusual Size wrote:
> > Can we disallow the confusing case, i.e. mixing incremental
> > and absolute in the same statement?
> We could, and the user would get an error message if they were
> combined -- but then how do you want to deal with
>   IndexOptions +IconsAreLinks
>   IndexOptions FancyIndexing
>   IndexOptions +SuppressLastModified
> and stay consistent with the behaviour for all three on the
> same line?

Perhaps check to see if the options are being cleared by an absolute
option before any directive on which they have an effect?

So that, for instance:
  IndexOptions FancyIndexing SuppressLastModified
  IndexOptions +IconsAreLinks
  IndexOptions FancyIndexing

would trigger a warning, since it would almost certainly not do what
the user intended.


View raw message