[eluser]uptime[/eluser]
Code:
RewriteEngine on
RewriteCond $1 !^(index\.php|images|css|javascript|spotlight|includes|robots\.txt)
RewriteRule ^(.*)$ /index.php/$1 [L]
This is way more secure...
It means that CI will handle everything but <images OR css OR javascript, etc...>
If you're using:
Code:
RewriteEngine On
RewriteCond %{REQUEST_FILENAME} !-f
RewriteCond %{REQUEST_FILENAME} !-d
RewriteRule ^(.*)$ /index.php/$1 [QSA,L]
Please make sure you also add:
There could be a common scenario in which a folder will be listed because it exists and does not have an index page.
P.S.: I use the same idea with iptables rules (block everything but ...) or just about anything... And I don't consider myself a paranoid.