Labeeb
Labeeb

Reputation: 369

Unable to access assets folder in Codeigniter

My directory structure is as follows:

-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

Deny from all

now its protected but as assets has css files and those are also not accessible too.

Upvotes: 0

Views: 1647

Answers (1)

DeiForm
DeiForm

Reputation: 664

Try to put the htaccess file to downloads file

Upvotes: 1

Related Questions