RewriteCond %{REQUEST_FILENAME} !-f RewriteCond %{REQUEST_FILENAME} !-d RewriteCond %{REQUEST_URI} !^(index \.php|check_images|captcha|js|css) RewriteRule ^(.*)$ index.php?/$1 [L]