title: mod_rewrite rule to match exact URL only
body: <p>I'm having an issue with <code>mod_rewrite</code> where I want to match—and replace—a specific URL. The URL I want to rewrite is:</p>
  
  <p><code>http://example.com/rss</code> to <code>http://example.com/rss.php</code></p>
  
  <p>That means, if some one were to append anything after <code>rss</code> a 404 Not Found response be sent. Currently I'm using this <code>mod_rewrite</code> snippet:</p>
  
  <pre><code>Options -Indexes
  
  RewriteEngine on
  RewriteBase /
  
  # pick up request for RSS feed
  RewriteRule ^rss/?$ rss.php [L,NC]
  
  # pass any other request through CMS
  RewriteCond %{REQUEST_FILENAME} !-f
  RewriteCond %{REQUEST_FILENAME} !-d
  RewriteRule ^(.+) index.php/$1
  </code></pre>
  
  <p>But this matches <code>rss</code> and <code>rss</code> with anything else added to the end. How can I re-write the above to acces <strong>only</strong> <code>http://example.com/rss</code> as the pattern for <code>mod_rewrite</code> to match against?</p>