I have CI running with my server root folder, wich has this .htaccess:
RewriteCond $1 !^(index\.php|css|js|rss20.xml|images|editorial|testes|robots\.txt)
RewriteRule ^(.*)$ /index.php/$1 [L]
The problem is:
if I try to protect the editorial, or any other folder listed in the RewriteCond, with a .htaccess, it returns a “404 Page Not Found - The page you requested was not found” error.
How can I protect subfolders with htaccess? Wich modifications must I do? If you could please help me, I’d appreciate it.
Thanks in advance,