mostly filebased Content Presentation System

12345678910
  1. RewriteEngine On
  2. RewriteRule ^(app|dict|ns|lib)\/|\.cfg$ - [R=404]
  3. RewriteCond %{REQUEST_FILENAME} !-l
  4. RewriteCond %{REQUEST_FILENAME} !-f
  5. RewriteCond %{REQUEST_FILENAME} !-d
  6. RewriteRule .* index.php [L,QSA]
  7. RewriteRule .* - [E=HTTP_AUTHORIZATION:%{HTTP:Authorization},L]