I have a codeigniter project. If i create a folder in root direct that can't provide codeigniter framework by default, if i hit a url with base_url + folder_name(http://localhost/Magpie/css/) as a result browser will shown all the file in this folder screenshot attach in bellow :
How can i Manage this problem
Already I used a .htaccess file in project root directory. my .htaccess code in bellow :
<IfModule mod_rewrite.c>
RewriteEngine on
RewriteBase /Magpie/
RewriteCond $1 !^(index\.php|images|css|js|robots\.txt|favicon\.ico)
RewriteCond %{REQUEST_FILENAME} !-f
RewriteCond %{REQUEST_FILENAME} !-d
RewriteRule ^(.*)$ ./index.php/$1 [L,QSA]
</IfModule>