[eluser]daBayrus[/eluser]
I used to put all the images and css files in the
ecn_lib directory which is allowed access by the .htaccess file in the root directory. Pages with images and css are rendered correctly.
Code:
Options +SymLinksIfOwnerMatch
<IfModule mod_rewrite.c>
RewriteEngine on
RewriteCond $1 !^(index\.php|ecn_lib|test)
RewriteRule ^(.*)$ ./index.php/$1 [L]
</IfModule>
Now, i want to move all the images and css files of an application inside the application folder by creating this directory structure:
Code:
application
-- config
-- controllers
-- others
---- images
---- css
-- views
When i run the app, the pages are not rendering the images and the css styles, even after using absolute paths . Is it because of the .htacces file? What is the solution to this? I dont want to put the application folder and future applications in the rewrite condition because I want it to be dynamic and dont want to edit it for every new apps.
Many thanks.