title: htaccess rules dont work on linux server
body: <p>On my development server running xampp on windows my .htacess rewrite rules are working fine. Once we went to our live server which is running <code>Linux core 3.8.0-21-generic #32-Ubuntu SMP Server version: Apache/2.2.22 (Ubuntu)</code>, our rules which do not contain parameters no longer work, yet rules which do have parameters are working.</p>
  
  <pre><code>    Options -Indexes 
  
      &lt;filesMatch "\.(html|htm|txt|js|htaccess)$"&gt;
      FileETag None
      &lt;ifModule mod_headers.c&gt;
      Header unset ETag
      Header set Cache-Control "max-age=0, no-cache, no-store, must-revalidate"
      Header set Pragma "no-cache"
      Header set Expires "Wed, 11 Jan 1984 05:00:00 GMT"
      &lt;/ifModule&gt;
      &lt;/filesMatch&gt;
  
      ErrorDocument 404 /404.php 
  
      RewriteEngine On    
      #Main site rules
      RewriteRule    ^login/?$    login.php    [NC,L]
      RewriteRule    ^contact/?$     contact.php    [NC,L]
  </code></pre>
  
  <p>The above rules which go to contact.php and login.php do not work. But, this more complicated rule with parameters is working:
  <code>RewriteRule    ^game/([a-zA-Z0-9]+)/?$   handles/handle-game-select.php?name=$1    [NC,L]</code></p>
  
  <p>Is there differences between the two server environments which is causing this to occur? </p>
  
  <p>Also, it appears that if we do something strange such as: <code>RewriteRule    ^contact.x     contact.php    [NC,L]</code> we are able to reach contact.php...</p>
  
  <p>Very confused on this one. </p>
  
  <p>Thank you for any help. </p>