In Apache 2.4, the "Order" becomes deprecated
If hosters by default have Access compat, then Order keeps working. Otherwise however, with our current .htaccess Apache 2.4 will not start after installing Drupal.
I tried to figure out a way to check which the current version of Apache is, but unfortunately IfVersion is only available in 2.4, so that will break 2.2. My stackoverflow question hasn't yielded anything that we can use yet. I asked on IRC, and got two suggestions.
- Ship two files, one < 2.4 and one >= 2.4. Pick one during install. Not sure how feasable that is for us.
- Find modules that are unique and frequently enabled in the different environments, and do IfModule on those to determine where we are. This seems like a total hack to be honest, but may actually be the best way to go if we can identify a reliable set of modules.
|#60||1599774-htaccess-apache-2.4-60-D7-backport.patch||1.19 KB||Rob C|
PASSED: [[SimpleTest]]: [MySQL] 41,501 pass(es).
|#58||1599774-htaccess-apache-2.4-58-D7-backport.patch||1.18 KB||Rob C|
PASSED: [[SimpleTest]]: [MySQL] 41,509 pass(es).
PASSED: [[SimpleTest]]: [MySQL] 41,130 pass(es).
PASSED: [[SimpleTest]]: [PHP 5.4 MySQL] 66,826 pass(es).
PASSED: [[SimpleTest]]: [MySQL] 59,051 pass(es).