Files
wyczarujprezent.pl/themes/.htaccess
2024-10-28 22:14:22 +01:00

37 lines
1.0 KiB
ApacheConf

<FilesMatch "\.tpl$">
# Apache 2.2
<IfModule !mod_authz_core.c>
Order deny,allow
Deny from all
</IfModule>
# Apache 2.4
<IfModule mod_authz_core.c>
Require all denied
</IfModule>
</FilesMatch>
#Rules to block bad bots from accessing web pages on your site.
#Remove or add more rules as per your needs.
BrowserMatchNoCase "user_agent" bots
BrowserMatchNoCase "Baiduspider" bots
BrowserMatchNoCase "SemrushBot" bots
BrowserMatchNoCase "Yandex" bots
BrowserMatchNoCase "BLEXBot" bots
BrowserMatchNoCase "AhrefsBot" bots
BrowserMatchNoCase "DotBot" bots
BrowserMatchNoCase "Exabot" bots
BrowserMatchNoCase "SeznamBot" bots
BrowserMatchNoCase "aiHitBot" bots
BrowserMatchNoCase "spbot" bots
BrowserMatchNoCase "MJ12bot" bots
BrowserMatchNoCase "oBot" bots
BrowserMatchNoCase "DeuSu" bots
BrowserMatchNoCase "ia_archiver" bots
BrowserMatchNoCase "MetaURI" bots
BrowserMatchNoCase "FlipboardProxy" bots
BrowserMatchNoCase "Wget/1.19.5" bots
BrowserMatchNoCase "okhttp/4.12.0" bots
Order Allow,Deny
Allow from ALL
Deny from env=bots