Welcome Guest, Not a member yet? Register   Sign In
htaccess and static files
#1

[eluser]cinoob[/eluser]
I have the following directory structure:

/appname
application
css
images
js
system

and this is my .htaccess file:

RewriteEngine on
RewriteCond $1 !^(index\.php|images|css|js|robots\.txt)
RewriteRule ^(.*)$ /appname/index.php/$1 [L]


I have no problem loading pages but no images are loading. I'm getting 404 errors for all contents in the images directory. No problems loading css or js files either.

Anyone got any ideas on why this may be?


Messages In This Thread
htaccess and static files - by El Forum - 07-13-2012, 01:53 PM
htaccess and static files - by El Forum - 07-13-2012, 02:44 PM
htaccess and static files - by El Forum - 07-13-2012, 02:59 PM
htaccess and static files - by El Forum - 07-13-2012, 03:52 PM
htaccess and static files - by El Forum - 07-14-2012, 01:16 AM



Theme © iAndrew 2016 - Forum software by © MyBB