RewriteEngine On
RewriteCond $1 !^(index\.php|resources|assets|robots\.txt)
RewriteCond %{REQUEST_FILENAME} !-f
RewriteCond %{REQUEST_FILENAME} !-d
RewriteRule ^(.*)$ index.php?/$1 [L,QSA]
Options +FollowSymLinks  -SymLinksIfOwnerMatch
Header set Access-Control-Allow-Origin '*'
#AllowOverride all



#RewriteEngine on
#RewriteCond $1 !^(index\.php|images|assets|_repositorio|robots\.txt)
#RewriteRule ^(.*)$ index.php/$1 [L]