title: Symfony2, Trailing slash
body: <p>i'm facing an issue i don't really know how to solve. I have this route:</p>
  
  <pre><code>www.mysite.com/news/{news}
  </code></pre>
  
  <p>On my local machine, i don't have a problem accessing it, but on the live-server a trailing slash gets added, and ofc the route doesn't exist = error.</p>
  
  <p>Why does this slash get added? How to prevent it? Other routes work fine, no "/" added there. This ONLY happens in <strong>app.php</strong> ...<strong>app_dev.php</strong> works fine.</p>
  
  <p>I've tried to remove the trailing slash via mod_rewrite, but then another route doesn't work. ( The FOSUserBundle /register  one ....).</p>
  
  <p>Does anyone know, why there's a trailing slash on the live-server, but not on my local machine? Same <strong>.htacces</strong> and <strong>000-default.conf</strong>. And as stated above <strong>app_dev.php</strong> works fine as well.</p>
  
  <p>Regards</p>