2
您好我应该只允许特定的IP地址(这是HTTP:X-FORWARDED-FOR地址)访问文件。我已经做了以下允许基于HTTP访问htaccess:X-FORWARDED-FOR
Options +FollowSymLinks
RewriteEngine On
RewriteBase/
RewriteCond %{HTTP:X-FORWARDED-FOR} !^xxx.xxx.x.xx$
RewriteRule ^$ http://xxx.xxx.x.xx/access_denie.php [R=301,L]
现在我必须让它为多个ip例如yyy.yy.y.yy.我怎样才能通过使用htaccess
是的,它工作正常谢谢你DaveRandom – Kalai