| 1 | From 9a788d82c38717396903f5352e6d27e938f0cb25 Mon Sep 17 00:00:00 2001
|
| 2 | From: Kaarle Ritvanen <[email protected]>
|
| 3 | Date: Fri, 11 Sep 2015 15:05:30 +0300
|
| 4 | Subject: [PATCH 13/14] httpd-*.conf: IfModule
|
| 5 |
|
| 6 | ---
|
| 7 | docs/conf/extra/httpd-autoindex.conf.in | 2 ++
|
| 8 | docs/conf/extra/httpd-info.conf.in | 4 ++++
|
| 9 | docs/conf/extra/httpd-userdir.conf.in | 2 ++
|
| 10 | 3 files changed, 8 insertions(+)
|
| 11 |
|
| 12 | diff --git a/docs/conf/extra/httpd-autoindex.conf.in b/docs/conf/extra/httpd-autoindex.conf.in
|
| 13 | index 51b02ed..d8fea34 100644
|
| 14 | |
| 15 | |
| 16 | @@ -1,3 +1,4 @@
|
| 17 | +<IfModule autoindex_module>
|
| 18 | #
|
| 19 | # Directives controlling the display of server-generated directory listings.
|
| 20 | #
|
| 21 | @@ -91,3 +92,4 @@ HeaderName HEADER.html
|
| 22 | #
|
| 23 | IndexIgnore .??* *~ *# HEADER* README* RCS CVS *,v *,t
|
| 24 |
|
| 25 | +</IfModule>
|
| 26 | diff --git a/docs/conf/extra/httpd-info.conf.in b/docs/conf/extra/httpd-info.conf.in
|
| 27 | index 5cfdf69..4876982 100644
|
| 28 | |
| 29 | |
| 30 | @@ -6,6 +6,7 @@
|
| 31 | # mod_info (for the server-info handler),
|
| 32 | # mod_status (for the server-status handler)
|
| 33 |
|
| 34 | +<IfModule status_module>
|
| 35 | #
|
| 36 | # Allow server status reports generated by mod_status,
|
| 37 | # with the URL of http://servername/server-status
|
| 38 | @@ -23,7 +24,9 @@
|
| 39 | # Off) when the "server-status" handler is called. The default is Off.
|
| 40 | #
|
| 41 | #ExtendedStatus On
|
| 42 | +</IfModule>
|
| 43 |
|
| 44 | +<IfModule info_module>
|
| 45 | #
|
| 46 | # Allow remote server configuration reports, with the URL of
|
| 47 | # http://servername/server-info (requires that mod_info.c be loaded).
|
| 48 | @@ -34,3 +37,4 @@
|
| 49 | Require host .example.com
|
| 50 | Require ip 127
|
| 51 | </Location>
|
| 52 | +</IfModule>
|
| 53 | diff --git a/docs/conf/extra/httpd-userdir.conf.in b/docs/conf/extra/httpd-userdir.conf.in
|
| 54 | index a744322..edd158f 100644
|
| 55 | |
| 56 | |
| 57 | @@ -1,3 +1,4 @@
|
| 58 | +<IfModule userdir_module>
|
| 59 | # Settings for user home directories
|
| 60 | #
|
| 61 | # Required module: mod_authz_core, mod_authz_host, mod_userdir
|
| 62 | @@ -19,3 +20,4 @@ UserDir public_html
|
| 63 | Require method GET POST OPTIONS
|
| 64 | </Directory>
|
| 65 |
|
| 66 | +</IfModule>
|
| 67 | --
|
| 68 | 2.9.4
|
| 69 |
|