Created
September 6, 2013 14:50
-
-
Save ruckus/6464900 to your computer and use it in GitHub Desktop.
mod_rewrite rule to block a bare POST /
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
# Block POSTS to / | |
RewriteBase / | |
RewriteCond %{REQUEST_METHOD} POST [NC] | |
RewriteRule ^$ - [F] |
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment