0
我用我的htaccess下面的代碼,但它不工作:只允許我的IP,查看現場htacess
Options +FollowSymlinks
RewriteEngine on
RewriteCond %{REMOTE_HOST} !^144\.124\.152\.167
RewriteCond %{REQUEST_URI} !/soon\.php$
RewriteRule (.*)$ /soon.php [R=302,L]
我用下面的到我的遠程主機
<?php
echo $_SERVER['REMOTE_ADDR'];
?>
弄清楚請幫助
http://stackoverflow.com/questions/4400154/htaccess-deny-all-allow-only-one-ip – hkulekci 2014-09-26 10:50:12