Спасибо. Такое решение мне не попадалось. Будем пробовать.
Нет, речь идет о фейковом трафике. Имеются переходы с таких ресурсов как:
semalt.com buttons-for-website.com и т.п.
Меня это беспокоит. Хочу отсечь.
Быть может я напрасно беспокоюсь?
Спасибо за разъяснение, но ваш код отличается от того что я нашел "на просторах". Есть какое-то принципиальное различие?
И еще. Как прописать если нужно отметить несколько сайтов?
Например так? Хеш нужно ставить? (выделено жирным)
RewriteEngine On
########## Begin - Rewrite rules to block out some common exploits
## If you experience problems on your site block out the operations listed below
## This attempts to block the most common type of exploit `attempts` to Joomla!
#
## Deny access to extension xml files (uncomment out to activate)
#<Files ~ "\.xml$">
#Order allow,deny
#Deny from all
#Satisfy all
#</Files>
## End of deny access to extension xml files
# Block out any script trying to set a mosConfig value through the URL
RewriteCond %{QUERY_STRING} mosConfig_[a-zA-Z_]{1,21}(=|\%3D) [OR]
# Block out any script trying to base64_encode data within the URL
RewriteCond %{QUERY_STRING} base64_encode[^(]*\([^)]*\) [OR]
# Block out any script that includes a <script> tag in URL
RewriteCond %{QUERY_STRING} (<|%3C)([^s]*s)+cript.*(>|%3E) [NC,OR]
# Block out any script trying to set a PHP GLOBALS variable via URL
RewriteCond %{QUERY_STRING} GLOBALS(=|\[|\%[0-9A-Z]{0,2}) [OR]
# Block out any script trying to modify a _REQUEST variable via URL
RewriteCond %{QUERY_STRING} _REQUEST(=|\[|\%[0-9A-Z]{0,2})
# Return 403 Forbidden header and show the content of the root homepage
RewriteRule .* index.php [F]
# Options +FollowSymlinks RewriteCond %{HTTP_REFERER} ^https?://([^.]+\.)*semalt\.com\ [NC,OR] RewriteRule .* – [F]
########## End - Rewrite rules to block out some common exploits
А что с глазками? Болеешь?
Впрочем, спасибо за рекламу)