Skip to content

Instantly share code, notes, and snippets.

@timmmmyboy
Last active August 29, 2015 14:25
Show Gist options
  • Save timmmmyboy/14fbe83b2d5eee5eedb4 to your computer and use it in GitHub Desktop.
Save timmmmyboy/14fbe83b2d5eee5eedb4 to your computer and use it in GitHub Desktop.
# More Details [DE]: http://cup.wpcoder.de/wordpress-xmlrpc-schutz/
<IfModule mod_setenvif.c>
<Files xmlrpc.php>
BrowserMatch "Poster" allowed
BrowserMatch "WordPress" allowed
BrowserMatch "Windows Live Writer" allowed
BrowserMatch "wp-iphone" allowed
BrowserMatch "wp-android" allowed
BrowserMatch "wp-windowsphone" allowed
Order Deny,Allow
Deny from All
Allow from env=allowed
</Files>
</IfModule>
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment