I am creating a modular CMS using the codeigniter framework, the main asset directory is:
/public/assets/[admin|public]/[css|images|js]
my current htaccess routes everything except requests starting with 'public' to the index.php file.
The new module system allows each module to have its own assets which would be located at
application/modules/*SOME_MODULE*/assets/[admin|public]/[css|images|js]
my question is, is it possible to create a rule to stop anything from a modules asset directory being routed to index.php?
My Current .httacces is:
RewriteEngine on
RewriteCond $1 !^(index\.php|images|robots\.txt|public/*)
RewriteRule ^(.*)$ /CI-Playground/index.php/$1 [L]