title: MVC htaccess rewrite
body: <p>Hello i have problem with my htaccess configuration in my own mvc. IDK what i do wrong? All time i have this message 500:</p>
  
  <blockquote>
    <p>Internal Server Error</p>
    
    <p>The server encountered an internal error or misconfiguration and was
    unable to complete your request.</p>
    
    <p>Please contact the server administrator, admin@localhost and inform
    them of the time the error occurred, and anything you might have done
    that may have caused the error.</p>
    
    <p>More information about this error may be available in the server error
    log.</p>
  </blockquote>
  
  <p>I want to make url rewrite to index.
  Try to do somthing like this</p>
  
  <blockquote>
    <p>www.example.com/index.php/controller/method/param</p>
    
    <p>www.example.com/index.php?url=controler</p>
  </blockquote>
  
  <p>My .htaccess look like this:</p>
  
  <pre><code>RewriteEngine On
  
  RewriteCond %{REQUEST_FILENAME} !-f
  RewriteCond %{REQUEST_FILENAME} !-d
  RewriteCond %{REQUEST_FILENAME} !-l 
  
  RewriteRule ^(.+) index.php?url=$l [QSA,L]
  </code></pre>
  
  <p>What i do wrong ?? I read <a href="http://httpd.apache.org/docs/current/rewrite/flags.html" rel="nofollow">http://httpd.apache.org/docs/current/rewrite/flags.html</a> and do how is there explained.</p>