Skip to content

Instantly share code, notes, and snippets.

@ruckus ruckus/gist:6464900
Created Sep 6, 2013

Embed
What would you like to do?
mod_rewrite rule to block a bare POST /
# 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
You can’t perform that action at this time.