-----BEGIN PGP SIGNED MESSAGE-----
Hash: SHA512

Hi,

As suggested by this comment [1] ("The example in Security Issues seems
to still be in 2.2 format, shouldn't it use Require instead of Allow?"),
attached is a patch for the mod_info documentation which is valid for
2.4 and up.

Best regards,
Mathijs Schmittmann

[1] http://httpd.apache.org/docs/2.4/mod/mod_info.html#comment_4447
-----BEGIN PGP SIGNATURE-----
Comment: GPGTools - https://gpgtools.org

iQIcBAEBCgAGBQJV7yXtAAoJEHU+9B0GxpC80C4P/RehaA6qSaRRLCZw6+IETGj6
FA0JT7evO5MF45/m80f/LBgO6yoSXZOpPk0hk0UvjvSNOhdfH878BbelOeqSzyXB
RbcUhrPsuKQai/q26pGV6A5AE30fNFLaAMhaaSnzuSd3okZCAEK8jgLmhIAWbYHj
JmD0u8ZcZLBfK8T9BaPZ3fYSktKpnn/CNJ10DQD5ctMueXPfe2mXLx5HZ++U6yBc
YF3W0Zk5as2UCRhpDgQ/2bELPqyLVe55ct/oyU9vubU2PM0yBeoNKbksLlB9eKLy
+7cotpwAfoDBRb9+2CEIDE8skItJKdBs2jC7damf50g0dDTwepgLsIDFQkfO8ZKV
3T5m61n2kwTcdfGIrxlgpJlyvAhsnkjeZWQGG2est2grriOhHtmrvxIv5gka1+H2
B0duCihmGnHIdsxKB9/i+vGAfiHzBYe4sLswjCEQ19R3RYb/os2gt+WSZsEAblvf
RxvcbaT+/iwBnRLKUZ+aypbSxlFPMhSTetgQNiWyllwQr0YOsmyy9Vd4CN3p9lYD
I+Uu0ILD4gOxAhENrh/WZTWrBG6k6nO0tXIIDrC9oT/0b9bqIUel0aCTBn6MfRSd
a1uU/QYheht5mQIa84dJWhKeIY9T8NqFDeALIeQ3tMVLsnG9ptobXu1SyaHJCKVG
FWZoL51j5GiUnHDAZOO6
=apWG
-----END PGP SIGNATURE-----

Index: mod/mod_info.xml
===================================================================
--- mod/mod_info.xml    (revision 1701839)
+++ mod/mod_info.xml    (working copy)
@@ -75,11 +75,11 @@
     <highlight language="config">
 &lt;Location "/server-info"&gt;
     SetHandler server-info
-    Order allow,deny
     # Allow access from server itself
-    Allow from 127.0.0.1
+    Require ip 127.0.0.1
+
     # Additionally, allow access from local workstation
-    Allow from 192.168.1.17
+    Require ip 192.168.1.17
 &lt;/Location&gt;
       </highlight>
     </example>

Attachment: patch.txt.sig
Description: Binary data

---------------------------------------------------------------------
To unsubscribe, e-mail: docs-unsubscr...@httpd.apache.org
For additional commands, e-mail: docs-h...@httpd.apache.org

Reply via email to