JS/CSS/IMG files producing a 404 error |
[eluser]yazdog8[/eluser]
I'm a bit new to CI and not the best framework person out there. I'm getting 404 errors for all of my external files like javascript, css and images. Here's my .htaccess file: Code: RewriteEngine on I'm hosted with godaddy, and the CI site is actually accessed through a subdomain: dev.paulsenweb.com. I'm guessing the subdomain may be the problem? In the Server API CGI/FastCGI is the return from php_info(). The files themselves are hosted in a folder called codeigniter off of the root. So the js/css/images are sitting essentially in the /codeigniter/system folder. Any help would be greatly appreciated!
[eluser]fobin[/eluser]
I think I've got the same issue. I've got all my images, js and css in resources folder. Locally I don't get any errors (using mamp) but on the live web server I get lot of errors like this: ERROR - 2010-12-22 08:39:06 --> 404 Page Not Found --> resources EDIT: and to add firebug shows everything loading up nicely.
[eluser]InsiteFX[/eluser]
Try this in your html file. Code: <head> Or Phil's Asset Library InsiteFX
[eluser]InsiteFX[/eluser]
It sounds like your paths are not right! Use Phil's Asset Library! InsiteFX |
Welcome Guest, Not a member yet? Register Sign In |