You are viewing a plain text version of this content. The canonical link for it is here.
Posted to docs@httpd.apache.org by bu...@apache.org on 2020/04/17 07:42:52 UTC

[Bug 64361] New: CacheDisable cannot occur within Directory section

https://bz.apache.org/bugzilla/show_bug.cgi?id=64361

            Bug ID: 64361
           Summary: CacheDisable cannot occur within Directory section
           Product: Apache httpd-2
           Version: 2.4.43
          Hardware: PC
                OS: Mac OS X 10.1
            Status: NEW
          Severity: normal
          Priority: P2
         Component: Documentation
          Assignee: docs@httpd.apache.org
          Reporter: e_apache@najk.com
  Target Milestone: ---

CacheDisable cannot occur within <Directory> section

Remove "directory" from context on:

https://httpd.apache.org/docs/2.4/mod/mod_cache.html#cachedisable

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

Proposed change:
Context:        server config, virtual host, .htaccess

-- 
You are receiving this mail because:
You are the assignee for the bug.
---------------------------------------------------------------------
To unsubscribe, e-mail: docs-unsubscribe@httpd.apache.org
For additional commands, e-mail: docs-help@httpd.apache.org


[Bug 64361] CacheDisable cannot occur within Directory section

Posted by bu...@apache.org.
https://bz.apache.org/bugzilla/show_bug.cgi?id=64361

--- Comment #1 from Christophe JAILLET <ch...@wanadoo.fr> ---
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

-- 
You are receiving this mail because:
You are the assignee for the bug.
---------------------------------------------------------------------
To unsubscribe, e-mail: docs-unsubscribe@httpd.apache.org
For additional commands, e-mail: docs-help@httpd.apache.org


[Bug 64361] CacheDisable cannot occur within Directory section

Posted by bu...@apache.org.
https://bz.apache.org/bugzilla/show_bug.cgi?id=64361

Niklas <e_...@najk.com> changed:

           What    |Removed                     |Added
----------------------------------------------------------------------------
                URL|                            |https://httpd.apache.org/do
                   |                            |cs/2.4/mod/mod_cache.html

-- 
You are receiving this mail because:
You are the assignee for the bug.
---------------------------------------------------------------------
To unsubscribe, e-mail: docs-unsubscribe@httpd.apache.org
For additional commands, e-mail: docs-help@httpd.apache.org


[Bug 64361] CacheDisable cannot occur within Directory section

Posted by bu...@apache.org.
https://bz.apache.org/bugzilla/show_bug.cgi?id=64361

Rich Bowen <rb...@apache.org> changed:

           What    |Removed                     |Added
----------------------------------------------------------------------------
         Resolution|---                         |FIXED
             Status|NEW                         |RESOLVED

--- Comment #2 from Rich Bowen <rb...@apache.org> ---
Fixed in trunk (r1933557) and 2.4 (r1933558).

Added a clarifying note to CacheDisable that among the per-directory contexts,
this directive is only supported in <Location> and <Proxy> sections — not in
<Directory>, <Files>, or <If>. The "directory" context designation is retained
since it covers Location and Proxy as well.

Thanks for the report.

-- 
You are receiving this mail because:
You are the assignee for the bug.
---------------------------------------------------------------------
To unsubscribe, e-mail: docs-unsubscribe@httpd.apache.org
For additional commands, e-mail: docs-help@httpd.apache.org