Commit 8057f17
Make backup & source file blocking work with v2.3+
As of Apache v2.3, the `Order`, `Allow` & `Deny` directives are replaced
by `Require`, making the Apache v2.2.x configuration not compatible with
Apache v2.3+: http://httpd.apache.org/docs/trunk/upgrading.html#access.
This patch enables the correct syntax for both Apache v2.2.x & v2.3+, by
checking for the presence of the `mod_authz_core` base module (available
only in Apache v2.3 and later).
See also: http://httpd.apache.org/docs/2.4/mod/mod_authz_core.html
Close #5 and #6.1 parent c571087 commit 8057f17
2 files changed
+14
-3
lines changed| Original file line number | Diff line number | Diff line change | |
|---|---|---|---|
| |||
306 | 306 | | |
307 | 307 | | |
308 | 308 | | |
309 | | - | |
310 | | - | |
311 | | - | |
| 309 | + | |
| 310 | + | |
| 311 | + | |
| 312 | + | |
| 313 | + | |
| 314 | + | |
| 315 | + | |
| 316 | + | |
| 317 | + | |
| 318 | + | |
| 319 | + | |
| 320 | + | |
| 321 | + | |
312 | 322 | | |
313 | 323 | | |
314 | 324 | | |
| |||
| Original file line number | Diff line number | Diff line change | |
|---|---|---|---|
| |||
1 | 1 | | |
2 | 2 | | |
| 3 | + | |
3 | 4 | | |
4 | 5 | | |
5 | 6 | | |
| |||
0 commit comments