title: Mod Rewrite not working as expected
body: <p>EDIT:</p>
  
  <p>Thanks to Anubhava, Here is the rewrite in the htaccess:</p>
  
  <pre><code>RewriteEngine On
  RewriteCond %{REQUEST_FILENAME} !-f
  RewriteCond %{REQUEST_FILENAME} !-d 
  RewriteCond %{REQUEST_FILENAME} !-l
  RewriteRule ^([\w_|-]+)$ main.php?u=$1 [L,QSA]
  </code></pre>
  
  <p>What it does:
  It takes mysite.com/tatata and sends it to main.php?u=tatata</p>
  
  <p>That works just fine.
  However, when I try to do mysite.com/cc it gives me 403 forbidden errors. I tried to see if there was some hidden .cc folder and no, there is no /cc in my site. I tried, /a and /aa because I thought I had maybe messed up the rewrite to require 3 letters at least. Both those rewrite correctly.</p>
  
  <p>So what can cause this kind of behavior. I am guessing I am missing something with the way rewrites function.</p>
  
  <p>-----Edit more----</p>
  
  <p>So to see what would happen, I added : </p>
  
  <pre><code>RewriteRule ^([\w_|-]+)\/$ main.php?u=$1 [L,QSA]
  </code></pre>
  
  <p>Now it takes /admin/ (an actual directory) and outputs /main.php?u=admin
  But with /cc/ or /cc ... still the same problem. </p>
  
  <p>The situation occurs on two machines, set up by two different people. </p>