title: htaccess pretty urls not working
body: <p>Folder structure:</p>
  
  <pre><code>- assets
    - all css / js
  - calsses
    - all models, db ant etc
  - views
    - admin
    - app
      - index.php
      - customers.php
      .......
  </code></pre>
  
  <p>my .htaccess</p>
  
  <pre><code>RewriteEngine on
  
  RewriteCond %{REQUEST_FILENAME} !-f
  RewriteCond %{REQUEST_FILENAME} !-d
  
  RewriteCond %{HTTP_HOST} ^(www.)?localhost:8080$
  
  RewriteRule ^(.*)$ /views/$1
  RewriteRule ^(/)?$ /views/index.php [L]
  </code></pre>
  
  <p>address : <code>localhost:8080/app/</code> - working fine, but then I try to add pretty url for example in my <code>customers.php</code> - <code>localhost:8080/app/customers.php?id=5</code> change to <code>localhost:8080/app/customers/id/5</code></p>
  
  <p>htaccess added new line:</p>
  
  <pre><code>RewriteRule /id/(.*) customers.php?id=$1
  </code></pre>
  
  <p>It's not working, it always return <strong>500 Internal Server Error</strong> there could be the problem?</p>
  
  <p>plus Need all urls without .php extend</p>