RewriteEngine on
RewriteCond $1 !^(index\.php|_direct)
RewriteRule ^(.*)$ index.php/$1 [L]
