htaccess SetEnvIf Remote_Addr is in Ip Address range
<p>i want set a environmet variable in htaccess if the client ip address is in the range from 192.168.1.192 to 192.168.1.255.</p>

<p>this is my code</p>

<pre><code>SetEnvIf Remote_Addr "^192\.168\.1\.(?:19[2-9]|2[0-5][0-9])$" FOO=BAR
</code></pre>

<p>this also validate 192.168.1.256, 192.168.1.257... how fix it?</p>