]> sipb.mit.edu Git - ikiwiki.git/blobdiff - doc/banned_users.mdwn
wrap lines
[ikiwiki.git] / doc / banned_users.mdwn
index d2bec90f0459d9016461293bb4c68fa8849f078c..c44f8c587fd12af58e0f0e0275e76d7123b2b57b 100644 (file)
@@ -1,4 +1,10 @@
-Banned users can be configured in the setup file.
+Banned users can be configured in the setup file via the `banned_users`
+setting. This is a list of user names, or [[PageSpecs|ikiwiki/PageSpec]]
+to ban. Using a PageSpec is useful to block an IP address.
+
+For example:
+
+       banned_users => ['evilspammer', 'ip(192.168.1.1)'],
 
 If a banned user attempts to use the ikiwiki CGI, they will receive a 403
 Forbidden webpage indicating they are banned.