title: Mod_Rewrite Question
body: <p>I'm trying to forward example.com/signup and example.com/signup/ (with trailing slash) to example.com/signup.php</p>
  
  <p>I wrote following to .htaccess and it works for example.com/signup/ but doesn't work without trailing slash... How can I solve the problem?</p>
  
  <pre><code>RewriteEngine On
  RewriteRule ^question/(.*)-(.*) /question.php?qid=$1
  RewriteRule ^signup/ /signup.php
  </code></pre>