Bug 64361 - CacheDisable cannot occur within Directory section
Summary: CacheDisable cannot occur within Directory section
Status: NEW
Alias: None
Product: Apache httpd-2
Classification: Unclassified
Component: Documentation (show other bugs)
Version: 2.4.43
Hardware: PC Mac OS X 10.1
: P2 normal (vote)
Target Milestone: ---
Assignee: HTTP Server Documentation List
URL: https://httpd.apache.org/docs/2.4/mod...
Depends on:
Reported: 2020-04-17 07:42 UTC by Niklas
Modified: 2020-06-10 20:31 UTC (History)
0 users


Note You need to log in before you can comment on or make changes to this bug.
Description Niklas 2020-04-17 07:42:52 UTC
CacheDisable cannot occur within <Directory> section

Remove "directory" from context on:


Context:	server config, virtual host, directory, .htaccess

Proposed change:
Context:	server config, virtual host, .htaccess
Comment 1 Christophe JAILLET 2020-06-10 20:31:54 UTC
The doc should be tweaked.

The "directory" mentioned is related to a set of directives. See [1].
This set is: <Directory>, <Location>, <Files>, <If>, and <Proxy>

However, this directive is explicitly disallowed in <Directory>, <File> and
<If> in the code.

So it should work only in <Location> and <Proxy>.

[1]: https://httpd.apache.org/docs/2.4/mod/directive-dict.html#Context