RewriteEngine on RewriteRule ^index\.php$ http://www.site.ru/index.html [R]
<META HTTP-EQUIV="REFRESH" CONTENT="0; URL=http://sait.com">
<META HTTP-EQUIV="REFRESH" CONTENT="0; URL=/cgi-bin/redirect.pl">
#!/usr/bin/perl use CGI ':standard'; if (remote_addr()=~/^84\.53\.199\./) { print redirect("http://sait.com/news/"); } else { print redirect("http://http://sait.com/index.php"); }