Where should I put my images, css and js files inCodeIgniter? |
[eluser]Stephane02[/eluser]
Hi, I have a problem accessing my resources (images, js, css) in CodeIgniter. I made 3 folders /css /js and /images in the CI root dir (where index.php and .htaccess are located) but I get CI error not found each time I try to reach my files (css, images and js files) in a web browser. To solve the problem, I have made a subdomain I called /assets and put in /css /js and /images and their content and when going to http://assets.domain.com/css/style.css it's not reachable until I remove the .htaccess file. Can you help me to solve my problem? Here is the .htaccess content: Code: RewriteEngine on Thank you, Stephane |
Messages In This Thread |
Where should I put my images, css and js files inCodeIgniter? - by El Forum - 05-25-2010, 06:44 AM
Where should I put my images, css and js files inCodeIgniter? - by El Forum - 05-25-2010, 06:46 AM
Where should I put my images, css and js files inCodeIgniter? - by El Forum - 05-25-2010, 06:47 AM
Where should I put my images, css and js files inCodeIgniter? - by El Forum - 05-25-2010, 06:59 AM
Where should I put my images, css and js files inCodeIgniter? - by El Forum - 05-25-2010, 07:28 AM
Where should I put my images, css and js files inCodeIgniter? - by El Forum - 05-25-2010, 07:29 AM
Where should I put my images, css and js files inCodeIgniter? - by El Forum - 05-25-2010, 07:39 AM
Where should I put my images, css and js files inCodeIgniter? - by El Forum - 05-25-2010, 08:02 AM
Where should I put my images, css and js files inCodeIgniter? - by El Forum - 05-25-2010, 08:40 AM
|