I am using the following code in my htaccess but it is not working:
Options +FollowSymlinks
RewriteEngine on
RewriteCond %{REMOTE_HOST} !^144\.124\.152\.167
RewriteCond %{REQUEST_URI} !/soon\.php$
RewriteRule (.*)$ /soon.php [R=302,L]
I used the following to figure out my remote_host
<?php
echo $_SERVER['REMOTE_ADDR'];
?>
Please help