title: Matching full URL in RewriteCond
body: <p>I'm trying to block all POST access to a site (and return a 403), except from 2 IP's and TO one URL (<a href="http://mydomain.com/about-us/contact-us/" rel="nofollow">http://mydomain.com/about-us/contact-us/</a>).</p>
  
  <p>Here's what I have:</p>
  
  <pre><code>RewriteCond %{REQUEST_METHOD} POST
  RewriteCond %{REMOTE_ADDR} !=1.2.3.4
  RewriteCond %{REMOTE_ADDR} !=4.3.2.1
  RewriteCond %{REQUEST_URI} !^http://mydomain.com/about-us/contact-us/$
  RewriteRule ^ / [F]
  </code></pre>
  
  <p>These rules are allowing access from all IP properly, but the contact page is still not accessible. I'm not sure I'm using the REQUEST_URI correctly?</p>
  
  <p>I've also tried variations with relative URLs like <code>RewriteCond %{REQUEST_URI} !^/about-us/contact-us$</code> and <code>RewriteCond %{REQUEST_URI} !^/about-us/contact-us/$</code> without luck.</p>
  
  <p>What am I doing wrong please?</p>