title: Apache URL RewriteRule
body: <p>This is my first attempt at using RewriteCond and RewriteRule.</p>
  
  <p>I have about 200 webpages the contain the text SPS or MENU (in UPPER or lower case) that I want to send to a webpage on another server.</p>
  
  <p>I was thinking of something like this which I based on an example that I found in the Apache mod_rewrite documentation</p>
  
  <pre><code>RewriteCond  %{REQUEST_URI}  (SPS|MENU) [NC]
  RewriteRule  ^/$                 http://new-ws.org/new-ws.html  [L]
  </code></pre>
  
  <p>I am fairly familiar with Perl Regular Expressions, but could someone explain what <code>^/$</code> does?  I understand what <code>^</code> and <code>$</code> do.</p>
  
  <p>As an example, if a user attempts to go to a webpage like <a href="http://old-ws.org/pub/TEST-SPS.html" rel="nofollow">http://old-ws.org/pub/TEST-SPS.html</a> they should be redirected to a page on a different webserver.</p>