]> git.immae.eu Git - github/shaarli/Shaarli.git/commit
.htaccess files: support Apache 2.4+ syntax 680/head
authorArthurHoaro <arthur@hoa.ro>
Thu, 3 Nov 2016 12:59:18 +0000 (13:59 +0100)
committerArthurHoaro <arthur@hoa.ro>
Tue, 8 Nov 2016 10:38:14 +0000 (11:38 +0100)
commit5ebc1d504bc8a8f29f49a8a4fc1c421f78677b2a
treef1c3ae18e29aa9560593db5721fc35bfe959b82b
parent849d1650c1af853162b749af896c20bb25d4a4e8
.htaccess files: support Apache 2.4+ syntax

If `mod_version` is enabled, the previous syntax will apply for Apache <2.4.
If not, the new syntax is used by default.

Fixes #676

`mod_version` identifier is `version_module` across all Apache versions. See:

  * https://httpd.apache.org/docs/current/mod/mod_version.html
  * https://httpd.apache.org/docs/2.2/mod/mod_version.html
  * https://serverfault.com/questions/733910/how-do-i-load-mod-version-only-if-it-isnt-built-in-to-apache

Note that version_module comes built-in with Debian (and derivatives) Apache2 packages, see https://wiki.debian.org/Apache/PackagingFor24
application/.htaccess
cache/.htaccess
data/.htaccess
docker/.htaccess
pagecache/.htaccess
tests/.htaccess
tmp/.htaccess