#Block scanning htaccess
<Files ".htaccess">
    Require all denied
</Files>

# Bad Bot List
#SetEnvIfNoCase USER_AGENT "like Gecko" bad_bot
SetEnvIfNoCase USER_AGENT "^abot" bad_bot
SetEnvIfNoCase USER_AGENT "^aipbot" bad_bot
SetEnvIfNoCase USER_AGENT "^asterias" bad_bot
SetEnvIfNoCase USER_AGENT "^EI" bad_bot
SetEnvIfNoCase USER_AGENT "^libwww-perl" bad_bot
SetEnvIfNoCase USER_AGENT "^LWP" bad_bot
SetEnvIfNoCase USER_AGENT "^lwp" bad_bot
SetEnvIfNoCase USER_AGENT "^MSIECrawler" bad_bot
SetEnvIfNoCase USER_AGENT "^nameprotect" bad_bot
SetEnvIfNoCase USER_AGENT "^PlantyNet_WebRobot" bad_bot
SetEnvIfNoCase USER_AGENT "^UCmore" bad_bot
SetEnvIfNoCase USER_AGENT "Alligator" bad_bot
SetEnvIfNoCase USER_AGENT "AllSubmitter" bad_bot
SetEnvIfNoCase USER_AGENT "Anonymous" bad_bot
SetEnvIfNoCase USER_AGENT "AhrefsBot*" bad_bot
SetEnvIfNoCase USER_AGENT "Asterias" bad_bot
SetEnvIfNoCase USER_AGENT "autoemailspider" bad_bot
SetEnvIfNoCase USER_AGENT "Badass" bad_bot
SetEnvIfNoCase User-Agent "BaiDuSpider*" bad_bot 
SetEnvIfNoCase USER_AGENT "BecomeBot" bad_bot
SetEnvIfNoCase USER_AGENT "Bitacle" bad_bot
SetEnvIfNoCase USER_AGENT "bladder\ fusion" bad_bot
SetEnvIfNoCase USER_AGENT "Blogshares\ Spiders" bad_bot
SetEnvIfNoCase USER_AGENT "Board\ Bot" bad_bot
SetEnvIfNoCase USER_AGENT "Cityreview*" bad_bot 
SetENvIfNoCase USER_AGENT "Choopa" bad_bot
SetEnvIfNoCase USER_AGENT "Convera" bad_bot
SetEnvIfNoCase USER_AGENT "ConveraMultiMediaCrawler" bad_bot
SetEnvIfNocase USER_AGENT "your-server.de" bad_bot
SetEnvIfNoCase USER_AGENT "crawl" bad_bot 
SetEnvIfNoCase USER_AGENT "c-spider" bad_bot
SetEnvIfNoCase USER_AGENT "DA" bad_bot
SetEnvIfNoCase USER_AGENT "DnloadMage" bad_bot
SetEnvIfNoCase USER_AGENT "Dotbot*" bad_bot 
SetEnvIfNoCase USER_AGENT "Download\ Demon" bad_bot
SetEnvIfNoCase USER_AGENT "Download\ Express" bad_bot
SetEnvIfNoCase USER_AGENT "Download\ Wonder" bad_bot
SetEnvIfNoCase USER_AGENT "dragonfly" bad_bot
SetEnvIfNoCase USER_AGENT "DreamPassport" bad_bot
SetEnvIfNoCase USER_AGENT "DSurf" bad_bot
SetEnvIfNoCase USER_AGENT "DTS Agent" bad_bot
SetEnvIfNoCase USER_AGENT "EBrowse" bad_bot
SetEnvIfNoCase USER_AGENT "eCatch" bad_bot
SetEnvIfNoCase USER_AGENT "edgeio" bad_bot
SetEnvIfNoCase USER_AGENT "Email\ Extractor" bad_bot
SetEnvIfNoCase USER_AGENT "EmailSiphon" bad_bot
SetEnvIfNoCase USER_AGENT "EmailWolf" bad_bot
SetEnvIfNoCase USER_AGENT "EmeraldShield" bad_bot
SetEnvIfNoCase USER_AGENT "ESurf" bad_bot
SetEnvIfNoCase USER_AGENT "Exabot" bad_bot
SetEnvIfNoCase USER_AGENT "ExtractorPro" bad_bot
SetEnvIfNoCase USER_AGENT "FileHeap!\ file downloader" bad_bot
SetEnvIfNoCase USER_AGENT "FileHound" bad_bot
SetEnvIfNoCase USER_AGENT "Forex" bad_bot
SetEnvIfNoCase USER_AGENT "Franklin\ Locator" bad_bot
SetEnvIfNoCase USER_AGENT "FreshDownload" bad_bot
SetEnvIfNoCase USER_AGENT "FrontPage" bad_bot
SetEnvIfNoCase USER_AGENT "FSurf" bad_bot
SetEnvIfNoCase USER_AGENT "Gaisbot" bad_bot
SetEnvIfNoCase USER_AGENT "Gamespy_Arcade" bad_bot
SetEnvIfNoCase USER_AGENT "genieBot" bad_bot
SetEnvIfNoCase USER_AGENT "GetBot" bad_bot
SetEnvIfNoCase USER_AGENT "GetRight" bad_bot
SetEnvIfNoCase USER_AGENT "Gigabot" bad_bot
SetEnvIfNoCase USER_AGENT "Go!Zilla" bad_bot
SetEnvIfNoCase USER_AGENT "Go-Ahead-Got-It" bad_bot
SetEnvIfNoCase USER_AGENT "GOFORITBOT" bad_bot
SetEnvIfNoCase USER_AGENT "heritrix" bad_bot
SetEnvIfNoCase USER_AGENT "HLoader" bad_bot
SetEnvIfNoCase USER_AGENT "HooWWWer" bad_bot
SetEnvIfNoCase USER_AGENT "HTTrack" bad_bot
SetEnvIfNoCase USER_AGENT "iCCrawler" bad_bot
SetEnvIfNoCase USER_AGENT "ichiro" bad_bot
SetEnvIfNoCase USER_AGENT "iGetter" bad_bot
SetEnvIfNoCase USER_AGENT "imds_monitor" bad_bot
SetEnvIfNoCase USER_AGENT "Industry\ Program" bad_bot
SetEnvIfNoCase USER_AGENT "Indy\ Library" bad_bot
SetEnvIfNoCase USER_AGENT "InetURL" bad_bot
SetEnvIfNoCase USER_AGENT "InstallShield\ DigitalWizard" bad_bot
SetEnvIfNoCase USER_AGENT "IRLbot" bad_bot
SetEnvIfNoCase USER_AGENT "IUPUI\ Research\ Bot" bad_bot
SetEnvIfNoCase USER_AGENT "Java" bad_bot
SetEnvIfNoCase USER_AGENT "jeteye" bad_bot
SetEnvIfNoCase USER_AGENT "jeteyebot" bad_bot
SetEnvIfNoCase USER_AGENT "JoBo" bad_bot
SetEnvIfNoCase USER_AGENT "JOC\ Web\ Spider" bad_bot
SetEnvIfNoCase USER_AGENT "Kapere" bad_bot
SetEnvIfNoCase USER_AGENT "Larbin" bad_bot
SetEnvIfNoCase USER_AGENT "LeechGet" bad_bot
SetEnvIfNoCase USER_AGENT "LightningDownload" bad_bot
SetEnvIfNoCase USER_AGENT "Linkie" bad_bot
SetEnvIfNoCase USER_AGENT "Mac\ Finder" bad_bot
SetEnvIfNoCase USER_AGENT "Mail\ Sweeper" bad_bot
SetEnvIfNoCase USER_AGENT "Mass\ Downloader" bad_bot
SetEnvIfNoCase USER_AGENT "MetaProducts\ Download\ Express" bad_bot
SetEnvIfNoCase USER_AGENT "Microsoft\ Data\ Access" bad_bot
SetEnvIfNoCase USER_AGENT "Microsoft\ URL\ Control" bad_bot
SetEnvIfNoCase USER_AGENT "Missauga\ Locate" bad_bot
SetEnvIfNoCase USER_AGENT "Missauga\ Locator" bad_bot
SetEnvIfNoCase USER_AGENT "Missigua Locator" bad_bot
SetEnvIfNoCase USER_AGENT "Missouri\ College\ Browse" bad_bot
SetEnvIfNoCase USER_AGENT "Mister\ PiX" bad_bot
SetEnvIfNoCase USER_AGENT "MJ12bot" bad_bot
SetEnvIfNoCase USER_AGENT "mj12bot" bad_bot
SetEnvIfNoCase USER_AGENT "MovableType" bad_bot
SetEnvIfNoCase USER_AGENT "Mozi!" bad_bot
SetEnvIfNoCase USER_AGENT "Mozilla/3.0 (compatible)" bad_bot
SetEnvIfNoCase USER_AGENT "Mozilla/5.0 (compatible; MSIE 5.0)" bad_bot
SetEnvIfNoCase USER_AGENT "MSIE_6.0" bad_bot
SetEnvIfNoCase USER_AGENT "MSIECrawler" badbot
SetEnvIfNoCase USER_AGENT "MVAClient" bad_bot
SetEnvIfNoCase USER_AGENT "MyFamilyBot" bad_bot
SetEnvIfNoCase USER_AGENT "MyGetRight" bad_bot
SetEnvIfNoCase USER_AGENT "NASA\ Search" bad_bot
SetEnvIfNoCase USER_AGENT "Naver" bad_bot
SetEnvIfNoCase USER_AGENT "NaverBot" bad_bot
SetEnvIfNoCase USER_AGENT "NetAnts" bad_bot
SetEnvIfNoCase USER_AGENT "NetResearchServer" bad_bot
SetEnvIfNoCase USER_AGENT "NEWT\ ActiveX" bad_bot
SetEnvIfNoCase USER_AGENT "Nextopia" bad_bot
SetEnvIfNoCase USER_AGENT "NG\ 1.x (Exalead)" bad_bot 
SetEnvIfNoCase USER_AGENT "NICErsPRO" bad_bot
SetEnvIfNoCase USER_AGENT "NimbleCrawler" bad_bot
SetEnvIfNoCase USER_AGENT "Nitro\ Downloader" bad_bot
SetEnvIfNoCase USER_AGENT "Nutch" bad_bot
SetEnvIfNoCase USER_AGENT "Offline\ Explorer" bad_bot
SetEnvIfNoCase USER_AGENT "OmniExplorer" bad_bot
SetEnvIfNoCase USER_AGENT "OutfoxBot" bad_bot
SetEnvIfNoCase USER_AGENT "P3P" bad_bot
SetEnvIfNoCase USER_AGENT "PagmIEDownload" bad_bot
SetEnvIfNoCase USER_AGENT "pavuk" bad_bot
SetEnvIfNoCase USER_AGENT "PHP\ version" bad_bot
SetEnvIfNoCase USER_AGENT "playstarmusic" bad_bot
SetEnvIfNoCase USER_AGENT "Program\ Shareware" bad_bot
SetEnvIfNoCase USER_AGENT "Progressive Download" bad_bot
SetEnvIfNoCase USER_AGENT "psycheclone" bad_bot
SetEnvIfNoCase USER_AGENT "puf" bad_bot
SetEnvIfNoCase USER_AGENT "PussyCat" bad_bot
SetEnvIfNoCase USER_AGENT "PuxaRapido" bad_bot
SetEnvIfNoCase USER_AGENT "Python-urllib" bad_bot
SetEnvIfNoCase USER_AGENT "RealDownload" bad_bot
SetEnvIfNoCase USER_AGENT "RedKernel" bad_bot
SetEnvIfNoCase USER_AGENT "relevantnoise" bad_bot
SetEnvIfNoCase USER_AGENT "RepoMonkey\ Bait\ &\ Tackle" bad_bot
SetEnvIfNoCase USER_AGENT "RTG30" bad_bot
SetEnvIfNoCase USER_AGENT "SBIder" bad_bot
SetEnvIfNoCase USER_AGENT "script" bad_bot
SetEnvIfNoCase USER_AGENT "Seekbot" bad_bot
SetEnvIfNoCase USER_AGENT "seznam" bad_bot
SetEnvIfNoCase USER_AGENT "SiteSnagger" bad_bot
SetEnvIfNoCase USER_AGENT "SmartDownload" bad_bot
SetEnvIfNoCase USER_AGENT "sna-" bad_bot
SetEnvIfNoCase USER_AGENT "Snap\ bot" bad_bot
SetEnvIfNoCase USER_AGENT "Sogou" bad_bot 
SetEnvIfNoCase USER_AGENT "Sosospider" bad_bot
SetEnvIfNoCase USER_AGENT "SpeedDownload" bad_bot
SetEnvIfNoCase USER_AGENT "Sphere" bad_bot
SetEnvIfNoCase USER_AGENT "Spider" bad_bot
SetEnvIfNoCase USER_AGENT "sproose" bad_bot
SetEnvIfNoCase USER_AGENT "SQ\ Webscanner" bad_bot
SetEnvIfNoCase USER_AGENT "Stamina" bad_bot
SetEnvIfNoCase USER_AGENT "Star\ Downloader" bad_bot
SetEnvIfNoCase USER_AGENT "Teleport" bad_bot
SetEnvIfNoCase USER_AGENT "triolan" bad_bot
SetEnvIfNoCase USER_AGENT "TurnitinBot" bad_bot
SetEnvIfNoCase USER_AGENT "Twiceler" bad_bot 
SetEnvIfNoCase USER_AGENT "UdmSearch" bad_bot
SetEnvIfNoCase USER_AGENT "URLGetFile" bad_bot
SetEnvIfNoCase USER_AGENT "USER_AGENT" bad_bot
SetEnvIfNoCase USER_AGENT "UtilMind\ HTTPGet" bad_bot
SetEnvIfNoCase USER_AGENT "Vultr.com"  bad_bot [NC]
SetEnvIfNoCase USER_AGENT "WebAuto" bad_bot
SetEnvIfNoCase USER_AGENT "WebCapture" bad_bot
SetEnvIfNoCase USER_AGENT "webcollage" bad_bot
SetEnvIfNoCase USER_AGENT "WebCopier" bad_bot
SetEnvIfNoCase USER_AGENT "WebFilter" bad_bot
SetEnvIfNoCase USER_AGENT "WebReaper" bad_bot
SetEnvIfNoCase USER_AGENT "Website\ eXtractor" bad_bot
SetEnvIfNoCase USER_AGENT "WebStripper" bad_bot
SetEnvIfNoCase USER_AGENT "WebZIP" bad_bot
SetEnvIfNoCase USER_AGENT "Wells\ Search" bad_bot
SetEnvIfNoCase USER_AGENT "WEP\ Search\ 00" bad_bot
SetEnvIfNoCase USER_AGENT "Wget" bad_bot
SetEnvIfNoCase USER_AGENT "Wildsoft\ Surfer" bad_bot
SetEnvIfNoCase USER_AGENT "WinHttpRequest" bad_bot
SetEnvIfNoCase USER_AGENT "wowrack" bad_bot
SetEnvIfNoCase USER_AGENT "WWWOFFLE" bad_bot
SetEnvIfNoCase USER_AGENT "Xaldon\ WebSpider" bad_bot
SetEnvIfNoCase USER_AGENT "Y!TunnelPro" bad_bot
SetEnvIfNoCase USER_AGENT "YahooYSMcm" bad_bot
SetEnvIfNoCase USER_AGENT "YandexBot" bad_bot 
SetEnvIfNoCase USER_AGENT "Yandex*" bad_bot 
SetEnvIfNoCase USER_AGENT "Zade" bad_bot
SetEnvIfNoCase USER_AGENT "ZBot" bad_bot
SetEnvIfNoCase USER_AGENT "zerxbot" bad_bot
<RequireAll>
    Require all granted
    Require not env bad_bot
    Require not host ahrefs.com abo.wanadoo.fr baidu.com server.de contaboserver.net cable.virginm.net
    Require not host exensa.net hostpapa.com interdns.co.uk indigo21.com intovps.com iteisa.com
    Require not host kurumsal01.ni.net.tr littlecore.com mj12bot.com mchsi.com modenewly.com
    Require not host netsart.pl ns507470 netherfield.didici.be
    Require not host poneytelecom.eu pppoe.wtnet.de shopimex.com se-dns.com triolan.net turkticaret.net
    Require not host wavesoftime.com wowrack.com 158-69-23.net
    Require not ip 5.62.155.48 5.101.221.94 10.157.244.207 12.193.150.0/25 23.91.70.128
    Require not ip 27.72.60.0/24 31.131.18.220 31.177.95.0/24
    Require not ip 37.251.155.62 45.55.55.20 46.175.48.47 46.229.168.0/24 47.205.158.141
    Require not ip 50.62.208.94 51.255.208.0/24 54.209.201.80 59.19.216.95
    Require not ip 62.210.185.4 65.99.237.133 66.171.183.2 
    Require not ip 69.30.198.0/24 69.30.205.218 69.30.213.0/24 69.30.226.0/24 69.30.234.2 69.30.211.2
    Require not ip 69.195.124.135 69.197.128.0/24 69.30.210.240/29
    Require not ip 72.167.190.210 74.208.180.4 74.220.219.56 78.129.237.153
    Require not ip 81.169.144.135 82.193.102.149 89.19.29.61 89.221.248.0/21 89.221.250.25
    Require not ip 91.200.80.82 93.179.89.40 93.179.90.60 91.243.91.189
    Require not ip 95.85.80.164 95.181.176.0/24 95.181.182.88 95.181.183.1/24 103.67.235
    Require not ip 104.131.0.0/24 104.131.68.0/24 104.131.169.194 104.236.114.0/24 104.236.221.0/24
    Require not ip 105.100.69 107.150.59.98 107.150.52.30 107.175.88.35 107.180.97.0/24 109.86.1.0/24
    Require not ip 112.64.33.92 116.62.148.42 118.67.248
    Require not ip 125.65.76.0/24 127.72.192.0/24 134.0.15.183
    Require not ip 151.80.41.169 153.92.0.2 158.69.23 158.69.251 159.65
    Require not ip 159.203.88.0/16 159.203.119 159.203.126.0/24
    require not ip 160.153.153.9 162.241.188.136
    Require not ip 172.241.112.83 173.208 173.234 173.208.200.154 173.234.153.122
    Require not ip 174.140.69.102 174.245.151.178
    Require not ip 175.223.31.110 176.221.32.20 177.12.161.60 178.150 109.87 178.151.245.174
    Require not ip 180.249.254.198 185.182.56.210 188.165.193.197
    Require not ip 192.151.144.0/24 192.151.145.80 192.151.145.81 192.151.145.82 192.151.145.83 192.151.145.84
    Require not ip 192.151.145.85 192.151.145.86 192.151.145.87 192.163.208.148 
    Require not ip 195.201.96.246 195.201.117.150 194.67.221.131 198.71.239.6 198.204.243 198.245.49.215 200.59.224.59
    Require not ip 203.133.169.164 203.170.192.64 204.12.226.26 207.244.157.10 208.110.93.0/24 208.118.63.128/25 
    Require not ip 216.244.66.0/24 243.218.57.37 246.96.201.195
    # Anthing below this line was added by Bot-trap
    Require not ip 5.189.200.183
    Require not ip 173.208 173.234
    Require not ip 158.69.252.176
    Require not ip 46.4.100.132
    Require not ip 180.76.15.145
    Require not ip 180.76.15.21
    Require not ip 180.76.15.139
    Require not ip 91.243.93.184
</RequireAll>