title: htaccess mod_rewrite allow ipv6
body: <p>I want to allow two different IP, one version 4 and second version 6. For ipv4 it works fine but I don't know what is correct syntax to allow ipv6. Example of ipv6 is <code>2001:718:1001:500:300:7ede:9ac1:8a68</code></p>
  
  <p>Here is what I have:</p>
  
  <pre><code>RewriteCond %{REMOTE_ADDR} !^213\.168\.132\.69 # works
  RewriteCond %{REMOTE_ADDR} !^2001\:718\:1001\:500\:300\:7ede\:9ac1\:8a68 # doesn't works
  RewriteCond %{REQUEST_URI} !/maintenance.html$ [NC]
  RewriteCond %{REQUEST_URI} !\.(jpe?g?|png|gif) [NC]
  RewriteRule .* /maintenance.html [R=302,L]
  </code></pre>