Skip to content
This repository has been archived by the owner on Feb 23, 2019. It is now read-only.

Deprecated the "Allow, Deny, and Order" directives #24

Merged
merged 1 commit into from
Aug 18, 2016

Conversation

amiga-500
Copy link
Collaborator

@amiga-500 amiga-500 commented Aug 18, 2016

SIDE NOTE: see #40 that fix and issue introduced by this pr.

Apache v2.4+ has deprecated the "Allow, Deny, and Order" directives in .htaccess, in favor of the "Require" directive. Such servers would now be forced to load the "mod_access_compat" module to regain "Allow, Deny, and Order" (unlike pre-2.4). For w3tc's "Enable Compatibility Mode" to function correctly on servers that have upgraded i've put in the appropriate module condition check and corresponding directive.

Apache 2.4+ has deprecated the "Allow, Deny, and Order" directives in .htaccess, in favor of "Require".  Such servers would now be required to load the "mod_access_compat" module to regain "Allow, Deny, and Order" (unlike pre-2.4).    For w3tc's "Enable Compatibility Mode" to function correctly on servers that have upgraded i've put in the appropriate module condition check.
@nigrosimone nigrosimone merged commit 954b739 into master Aug 18, 2016
@nigrosimone
Copy link
Collaborator

Great! thank you!

@amiga-500 amiga-500 deleted the compat-mode branch August 19, 2016 00:51
@nigrosimone nigrosimone changed the title Update PgCacheAdminEnvironment.php Deprecated the "Allow, Deny, and Order" directives Feb 25, 2017
Sign up for free to subscribe to this conversation on GitHub. Already have an account? Sign in.
Projects
None yet
Development

Successfully merging this pull request may close these issues.

2 participants