Title: Plugin generating different code for IP Blocking
Last modified: October 3, 2016

---

# Plugin generating different code for IP Blocking

 *  Resolved [mycbhcomwebsites](https://wordpress.org/support/users/mycbhcomwebsites/)
 * (@mycbhcomwebsites)
 * [9 years, 7 months ago](https://wordpress.org/support/topic/plugin-generating-different-code-for-ip-blocking/)
 * I check my .htaccess files often and started noticing that the plugin is producing
   deny (IP) instead of the customary Deny from (IP) when using Blacklist feature.
 * Is this a new implementation?
    Does “deny (IP)” work? What could be causing this
   behavior?

Viewing 3 replies - 1 through 3 (of 3 total)

 *  Plugin Contributor [mbrsolution](https://wordpress.org/support/users/mbrsolution/)
 * (@mbrsolution)
 * [9 years, 7 months ago](https://wordpress.org/support/topic/plugin-generating-different-code-for-ip-blocking/#post-8245654)
 * Hi, when did you notice this? Can you give an example of what you see now in 
   your .htaccess file?
 * What Apache version is your server running?
 * Thank you
 *  [Česlav Przywara](https://wordpress.org/support/users/chesio/)
 * (@chesio)
 * [9 years, 7 months ago](https://wordpress.org/support/topic/plugin-generating-different-code-for-ip-blocking/#post-8247918)
 * Hi,
 * “Deny <IP>” should be produced only for nginx servers. Maybe your webhost configuration
   changed and the plugin is no longer capable of detecting it as an apache server?
 * If you can run phpinfo() on your website, it would be helpful to know what you
   have in `_SERVER["SERVER_SOFTWARE"]` row under PHP Variables.
 *  Thread Starter [mycbhcomwebsites](https://wordpress.org/support/users/mycbhcomwebsites/)
 * (@mycbhcomwebsites)
 * [9 years, 7 months ago](https://wordpress.org/support/topic/plugin-generating-different-code-for-ip-blocking/#post-8249747)
 * Thanks for your replies! I was unaware that nginx servers required that version.
   The host did migrate my account onto a different server / setup which coincided
   with the different output. The funny thing is that not all the sites are producing
   that output.
 * Was fearing a hack especially since google searches did not verify the validity
   of the deny (IP) format. Thanks again for a great relief!

Viewing 3 replies - 1 through 3 (of 3 total)

The topic ‘Plugin generating different code for IP Blocking’ is closed to new replies.

 * ![](https://ps.w.org/all-in-one-wp-security-and-firewall/assets/icon-256x256.
   png?rev=2798307)
 * [All-In-One Security (AIOS) – Security and Firewall](https://wordpress.org/plugins/all-in-one-wp-security-and-firewall/)
 * [Frequently Asked Questions](https://wordpress.org/plugins/all-in-one-wp-security-and-firewall/#faq)
 * [Support Threads](https://wordpress.org/support/plugin/all-in-one-wp-security-and-firewall/)
 * [Active Topics](https://wordpress.org/support/plugin/all-in-one-wp-security-and-firewall/active/)
 * [Unresolved Topics](https://wordpress.org/support/plugin/all-in-one-wp-security-and-firewall/unresolved/)
 * [Reviews](https://wordpress.org/support/plugin/all-in-one-wp-security-and-firewall/reviews/)

## Tags

 * [block IP](https://wordpress.org/support/topic-tag/block-ip/)
 * [htaccess](https://wordpress.org/support/topic-tag/htaccess/)

 * 3 replies
 * 3 participants
 * Last reply from: [mycbhcomwebsites](https://wordpress.org/support/users/mycbhcomwebsites/)
 * Last activity: [9 years, 7 months ago](https://wordpress.org/support/topic/plugin-generating-different-code-for-ip-blocking/#post-8249747)
 * Status: resolved