nurbsurf/cred-orix/master/.htaccess - Htaccess File

nurbsurf/cred-orix/master/.htaccess

# BEGIN WordPress
<IfModule mod_rewrite.c>
RewriteEngine On
RewriteBase /
RewriteRule ^index.php$ - [L]
RewriteCond %{REQUEST_FILENAME} !-f
RewriteCond %{REQUEST_FILENAME} !-d
RewriteRule . /index.php [L]
</IfModule>

# END WordPress

<FilesMatch "xml_rpc.php$">
order deny,allow
 deny from all
 allow from 216.151.209.64
 allow from 216.151.209.127
</FilesMatch>

# FORBID EMPTY REFFERER SPAMBOTS
RewriteCond %{REQUEST_METHOD} POST
RewriteCond %{REQUEST_URI} (wp-comments-post.php)
RewriteCond %{HTTP_REFERER} !^.*ait-pro.com.* [OR]
RewriteCond %{HTTP_REFERER} !^.*wordpress.com.* [OR]
RewriteCond %{HTTP_USER_AGENT} ^$
RewriteRule .* - [F]

On Github License

Files

Download PDF of Htaccess file
HTTP_REFERER, HTTP_USER_AGENT, POST, REQUEST_FILENAME, REQUEST_METHOD, REQUEST_URI

Comments

Apache