-
-
Notifications
You must be signed in to change notification settings - Fork 213
The FilterProvider
syntax has changed in Apache 2.4
#4552
Comments
Funny you are mentioning it, because I also came across the issue this weekend :) I am curious what they chose as their preferred solution, although I don't like the idea of having the same block three times (twice if mod_version is available and one legacy block). I'd rather have a |
Yeah, that might be an alternative (meanwhile). However, we would have to maintain then four copies of the server configuration file, two with the default configuration and another two for the developing stage. |
…fault` file, merged the code from the `.htaccess.dev` file and added general redirect rules to redirect the empty domain to the "www" subdomain or vice-versa (see #4552)
Adjusted the |
In the H5BP |
It seems they entirely dropped the |
They claim so, yeah. See h5bp/html5-boilerplate#1012 (comment) and the corresponding pull request. |
Cool :) |
Changed in 0cec9ee. |
I recently upgraded my Apache web server from version 2.2.21 to 2.4.2 and while testing the Contao 2.11.5 hotfix branch I am getting server errors complaining about a syntax error regarding the
FilterProvider
directive (that we are currently using in our .htaccess.default server configuration file):In fact, the syntax for the FilterProvider directive has changed in version 2.4:
However, the solutions actually discussed in the html5-boilerplate GitHub tracker do not look quite promising at all (apart the fact, the
mod_version
module fairly sure not being available in all hosting environments, I guess). Do we really need to do a version compare as proposed there in the ticket?Does anyone know a better way we could handle this issue (maybe before rolling out the upcoming bugfix release 2.11.5)?
The text was updated successfully, but these errors were encountered: