我无法弄清楚如何否定匹配客户端IP的rewritecond:
RewriteCond expr "-R '192.168.1.0/24'"
假设我想匹配,如果远程IP地址不是这个。 什么语法?
我读了Apache HTTP Server中的expression式,但没有find它。 谢谢!
find了!
RewriteCond expr "! -R '12.345.678.90/28'"