# HG changeset patch # User maranda3985@gmail.com # Date 1338065536 0 # Node ID 22f6a2a998cfa2ae12b482d9de0058af3aef1f3f # Parent 7c63f7c44a0f14aad554ac6edccfdf5021689c41 Made it clearer? diff -r 7c63f7c44a0f -r 22f6a2a998cf mod_host_guard.wiki --- a/mod_host_guard.wiki Sat May 26 20:29:58 2012 +0000 +++ b/mod_host_guard.wiki Sat May 26 20:52:16 2012 +0000 @@ -16,15 +16,15 @@ * Or by selectively blocking certain remote hosts through blacklisting (by using host_guard_selective and host_guard_blacklisting) Module configuration syntax: -{{{ -host_guard_blockall = { "no_access.yourhost.com", "no_access2.yourhost.com" } -host_guard_blockall_exceptions = { "i_can_access.no_access.yourhost.com" } -host_guard_selective = { "no_access_from_blsted.myhost.com", "no_access_from_blsted.mycomponent.com" } -host_guard_blacklist = { "remoterogueserver.com", "remoterogueserver2.com" } -}}} + +host_guard_blockall = { "no_access.yourhost.com", "no_access2.yourhost.com" } -- insert here the local hosts where you want to forbid all remote traffic to. +host_guard_blockall_exceptions = { "i_can_access.no_access.yourhost.com" } -- exceptions for the above. +host_guard_selective = { "no_access_from_blsted.myhost.com", "no_access_from_blsted.mycomponent.com" } -- insert here the local hosts where you want to employ blacklisting. +host_guard_blacklist = { "remoterogueserver.com", "remoterogueserver2.com" } -- blacklisted remote hosts. + The above is updated when the server configuration is reloaded so that you don't need to restart the server. = Compatibility = - * Works with 0.8.x, successive versions and trunk. + * Works with 0.8.x, successive versions and trunk. \ No newline at end of file