CodeIgniter Forums
Unable to access assets folder in CI - Printable Version

+- CodeIgniter Forums (https://forum.codeigniter.com)
+-- Forum: Archived Discussions (https://forum.codeigniter.com/forumdisplay.php?fid=20)
+--- Forum: Archived Development & Programming (https://forum.codeigniter.com/forumdisplay.php?fid=23)
+--- Thread: Unable to access assets folder in CI (/showthread.php?tid=59058)



Unable to access assets folder in CI - El Forum - 08-19-2013

[eluser]Unknown[/eluser]
My directory structure is as follows:

Quote:> -application
> -system
> -assets
> --images
> --downloads
> --css
> index.php
I created assets as suggested on stackoverflow,I wanted to restrict access to downloads so placed .htaccess file in assets folder with the following directive

Code:
Deny from all
now its protected but as `assets` has `css` files and those are also not accessible too.