Welcome Guest, Not a member yet? Register   Sign In
JS/CSS/IMG files producing a 404 error
#1

[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

# enable symbolic links
Options +FollowSymLinks
Options -Multiviews

RewriteCond %{REQUEST_FILENAME} !-f
RewriteCond %{REQUEST_FILENAME} !-d

RewriteCond $1 !^(index\.php|images|css|js|yui|robots\.txt)

RewriteRule ^(.*)$ /index.php?$1 [L]

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!


Messages In This Thread
JS/CSS/IMG files producing a 404 error - by El Forum - 10-01-2010, 12:54 PM
JS/CSS/IMG files producing a 404 error - by El Forum - 10-04-2010, 11:00 AM
JS/CSS/IMG files producing a 404 error - by El Forum - 12-22-2010, 12:49 AM
JS/CSS/IMG files producing a 404 error - by El Forum - 12-22-2010, 02:08 AM
JS/CSS/IMG files producing a 404 error - by El Forum - 12-22-2010, 08:42 AM
JS/CSS/IMG files producing a 404 error - by El Forum - 12-23-2010, 08:24 AM



Theme © iAndrew 2016 - Forum software by © MyBB