You are browsing a read-only backup copy of Wikitech. The primary site can be found at wikitech.wikimedia.org
Ban IP address in Phabricator
Revision as of 04:12, 10 November 2020 by imported>Wolfgang Kandek (Created page with "One can ban an abusive IP address (an aggressive crawler for example) in Phabricator via an entry in /etc/apache2/phabbanlist.conf as shown by Tyler in Phabricator Task T26760...")
One can ban an abusive IP address (an aggressive crawler for example) in Phabricator via an entry in /etc/apache2/phabbanlist.conf as shown by Tyler in Phabricator Task T267603 - https://phabricator.wikimedia.org/T267603
Here is a working example:
Require not expr "%{HTTP:X-Client-IP} == '185.23.213.54'"
Other bans based on User-Agent or Referer should be possible as well.