From kodeboard, 4 Years ago, written in PHP.
Embed
  1. RewriteEngine on
  2. RewriteBase /
  3. # Hide the application and system directories and redirect request to index.php
  4. RewriteRule ^(application|system|\.svn) index.php/$1 [L]
  5. RewriteCond %{REQUEST_FILENAME} !-f
  6. RewriteCond %{REQUEST_FILENAME} !-d
  7. RewriteRule ^(.*)$ index.php/$1 [QSA,L]

You must login to reply or comment on this code.