title: Another mod_rewrite trailing slash question
body: <p>I have the following rewrite rules in my <code>.htaccess</code> file:</p>
  
  <pre><code>RewriteEngine on
  RewriteRule ^news/([0-9]+)/?$ /?action=news&amp;start=$1 [L]
  RewriteRule ^man/([a-zA-Z0-9_]+)/?$ /?action=man&amp;page=$1 [L]
  RewriteRule ^([a-zA-Z0-9_]+)/?$ /?action=$1 [L]
  </code></pre>
  
  <p>All of then end with a <code>/?</code> to check for an optional trailing slash. This works - it means I can use either <code>http://www.site.com/news/</code> or <code>http://www.site.com/news</code> to get to the <code>news</code> page, which is what I want. The problem is that, while <code>http://www.site.com/news/</code> works fine and redirects silently and all that fun stuff, <code>http://www.site.com/news</code> is visibly redirected to <code>http://www.site.com/news/?action=news</code> for some reason. They both come up with the same site, but for some reason if I leave off the trailing slash, the URL changes and looks all nasty.</p>
  
  <p>Any ideas what's going on with this? I have no other rules in my <code>.hyaccess</code> file. I'll also point out that <code>http://www.site.com/news/0</code> and <code>http://www.site.com/news/0/</code> do not suffer from the same problem. Both of them redirect invisibly to <code>http://www.site.com/?action=news&amp;start=0</code>, which is what I want. It only seems to be a problem with that third rule.</p>
  
  <p>If it helps any, the site is on SourceForge.net.</p>