From 233ef993e7963cd4adeffa77d0156e64e680a418 Mon Sep 17 00:00:00 2001 From: Alicia Guerra Date: Tue, 10 Feb 2015 22:58:52 -0800 Subject: [PATCH] Update README.md --- README.md | 7 +++++++ 1 file changed, 7 insertions(+) diff --git a/README.md b/README.md index 1df354f..11753cb 100644 --- a/README.md +++ b/README.md @@ -24,6 +24,7 @@ What I'm doing here is mostly collecting useful snippets from all over the inter - [Security](#security) - [Deny All Access](#deny-all-access) - [Deny All Access Except Yours](#deny-all-access-except-yours) + - [Block a Specific IP Address] (#block-a-specific-ip-address) - [Allow All Access Except Spammers'](#allow-all-access-except-spammers) - [Deny Access to Hidden Files and Directories](#deny-access-to-hidden-files-and-directories) - [Deny Access to Backup and Source Files](#deny-access-to-backup-and-source-files) @@ -147,6 +148,12 @@ Allow from xxx.xxx.xxx.xxx Now of course there's a reversed version: +### Block a Specific IP Address +``` apacheconf +Order Deny,Allow +Deny from xx.xxx.xxx.xx +``` + ### Allow All Access Except Spammers' ``` apacheconf Order deny,allow