Skip to content

Latest commit

 

History

History
executable file
·
53 lines (39 loc) · 3.43 KB

File metadata and controls

executable file
·
53 lines (39 loc) · 3.43 KB

Apache Ultimate Bad Bot, User-Agent and Spam Referrer Blocker - Apache Block Bad Bots, User-Agents, Vulnerability Scanners, Malware, Adware, Ransomware, Malicious Sites, Spam Referrers, Bad Referrers, Spam Blocker, Porn Blocker, Gambling Blocker,  Wordpress Theme Detector Blocking and Fail2Ban Jail for Repeat OffendersDUBGitHub releaseBuild StatusFollow @ubuntu101za

Apache Spam Referrer Blocker .htaccess versions


Version: V3.2024.11.2102

Bad Referrer Count: 7104

Bad Bot Count: 666


for mod_rewrite.c and mod_setenvif.c modules

These .htaccess files are provided for users who do not have root access to their Apache servers and are unable to run the Apache Bad Bot and Spam Referrer Blocker script.

By using one of the .htaccess file versions in your root directory in conjunction with the robots.txt file also provided in this repository this should cover your site from most bad bots and spam referrers.

If this helps you why not buy me a beer🍺

####There are two versions - you choose which one works for you

  • One using the mod_rewrite.c module
  • One using the mod_setenvif.c module
For Apache 2.2 Users - You Will Need the Following:
<IfModule !mod_authz_core.c>
	<IfModule mod_authz_host.c>
		Order allow,deny
		Allow from all
		Deny from env=spambot
	</IfModule>
</IfModule>
For Apache 2.4 Users - You Will Need the Following
<IfModule mod_authz_core.c>
	<RequireAll>
		Require all granted
		Require not env spambot
	</RequireAll>
</IfModule>

If this helped you why not buy me a beer🍺

Update Notification System

Please subscribe your email address to the mailing list at https://groups.google.com/forum/#!forum/apache-ultimate-bad-bot-blocker or simply send a blank email to [email protected] to subscribe. Please make sure you are subscribed to notifications to be notified when the blocker is updated and also to be notified when any important or mission critical changes take place.