<style>
.color_blue > a.internal-link {
color: blue; // можно еще !important добавить
}
</style>
<FilesMatch "(rk|redirect).(php)$">
RewriteCond %{QUERY_STRING} goto= [NC]
RewriteRule ^.*$ - [F]
RewriteEngine On
</FilesMatch>
location /redirect {
return 444;
}
location /rk {
return 444;
}
location /click {
return 444;
}
if(strpos($_SERVER['REQUEST_URI'], '/redirect?url=http' || strpos($_SERVER["REQUEST_URI"], '/click?url=http') !== false || strpos($_SERVER["REQUEST_URI"], '/rk?url=http') !== false) !== false)
{
$is_access = 0; // нет доступа
if(!empty($_SERVER['HTTP_REFERER'])){
if(strpos($_SERVER['HTTP_REFERER'], 'http://'.$_SERVER['HTTP_HOST']) === 0)
{$is_access = 1;} // есть доступ
if(strpos($_SERVER['HTTP_REFERER'], 'https://'.$_SERVER['HTTP_HOST']) === 0)
{$is_access = 1;} // есть доступ
}
if($is_access != 1){
$msg = " 403 Forbidden";
header($_SERVER["SERVER_PROTOCOL"].$msg);
exit("<h1>{$msg}</h1>");
}
}
//-----------------------------------
GET /bitrix/redirect.php?goto=http://www.desktop.ipt.pw/News/high-quality-fake-document-maker-4/ HTTP/1.0
Host:
Connection: close
User-Agent: Mozilla/5.0 (Windows NT 10.0; WOW64; x64) AppleWebKit/537.36 (KHTML, like Gecko) Chrome/114.0.0.0 Safari/537.36 OPR/89.0.4447.51
Accept: text/html,application/xhtml+xml,application/xml;q=0.9,*/*;q=0.8
Accept-Language: en-US,en;q=0.5
DNT: 1
Referer: https://rolik-lenta.ru/bitrix/click.php?goto=https%3A%2F%2F%2Fbitrix%2Fredirect.php%3Fgoto%3Dhttp%3A%2F%2Fwww.desktop.ipt.pw%2FNews%2Fhigh-quality-fake-document-maker-4%2F
Origin: https://rolik-lenta.ru
sec-ch-ua: ".Not/A)Brand";v="99", "Google Chrome";v="114", "Chromium";v="114"
sec-ch-ua-mobile: ?0
sec-gpc: 1
sec-ch-ua-platform: "Windows"