I have googled and tried many solutions which worked for others but not in my case. I don't know why.
I am learning to use CodeIgniter 2.2.0. I have set up project structure and all the things as below, but still I am not able to load my CSS and JS.
Also I have set
$config['base_url'] = "http://localhost/"; in
Project Folder Structure:
My project folder structure is as follows :
(Application , System, Assets folders are at same level)
The contents of
.htaccess file are :
(.htaccess file path : C:\xampp\htdocs.htaccess )
RewriteEngine on RewriteCond $1 !^(index\.php|images|js|css|robots\.txt) RewriteRule ^(.*)$ /index.php/$1 [L]
there are 2 more
.htaccess file at
both have single line written :
Deny from all
C:\xampp\htdocs\, there is a file
index.php which is same as the
index.php file placed at
C:\xampp\htdocs\CodeIgniter_2.2.0\ in which I have set following things
$system_path = 'CodeIgniter_2.2.0/system'; $application_folder = 'CodeIgniter_2.2.0/application';
Is there anything that I am missing in this? I am not able to load any CSS or JS files on my page.