Bug 60719 - Incremental IndexOptions in global server context are ignored
Summary: Incremental IndexOptions in global server context are ignored
Status: NEW
Alias: None
Product: Apache httpd-2
Classification: Unclassified
Component: mod_autoindex (show other bugs)
Version: 2.4.25
Hardware: PC Linux
: P2 normal (vote)
Target Milestone: ---
Assignee: Apache HTTPD Bugs Mailing List
URL:
Keywords:
Depends on:
Blocks:
 
Reported: 2017-02-09 19:20 UTC by Stefan Fritsch
Modified: 2017-03-02 11:21 UTC (History)
1 user (show)



Attachments

Note You need to log in before you can comment on or make changes to this bug.
Description Stefan Fritsch 2017-02-09 19:20:01 UTC
If you have something like

  IndexOptions FancyIndexing
  IndexOptions +SuppressDescription

the second line is ignored.

The reason seems to be that incremented_opts/decremented_opts are only added/removed to opts if the config is merged into another config. But the global server config is never merged into something else.
Comment 1 Stefan Fritsch 2017-02-09 19:23:33 UTC
As a work-around,

  IndexOptions FancyIndexing
  IndexOptions SuppressDescription

works. Though if the config is spread through many config files, it may be non-obvious that the lines are in the same context (global server config).