changeset 280:22f6a2a998cf

Made it clearer?
author maranda3985@gmail.com
date Sat, 26 May 2012 20:52:16 +0000
parents 7c63f7c44a0f
children a0d014edd8df
files mod_host_guard.wiki
diffstat 1 files changed, 7 insertions(+), 7 deletions(-) [+]
line wrap: on
line diff
--- 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" }
-}}}
+<code language="lua">
+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.
+</code>
 
 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