Make the `.htaccess` files Apache 2.4 ready (see #5032)