For example, I've created next structure
application
js
css
system
Standart .htaccess
deny access to any files from js
or css
folders.
RewriteEngine on
RewriteCond $1 !^(index\.php|robots\.txt|img|styles|js)
RewriteRule ^(.*)$ /index.php?/$1 [L]
How would you advise to organize site structure?