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

