RewriteEngine on
RewriteCond %{REQUEST_FILENAME} !-f
RewriteCond %{REQUEST_FILENAME} !-d
#RewriteCond %{REQUEST_URI} !^index.php/
#RewriteRule ^(.*)/?$ index.php/$1 [NC,QSA,L]

RewriteCond $1 !^(index\.php|assets|upload|robots\.txt)
RewriteRule ^(.*)$ index.php/$1 [L]

RemoveHandler .pl
RemoveHandler .html
RemoveHandler .cpc
RemoveType .cgi
