Heya,
I’ve been trying every .htacces example availible on the forums and tried them all but still I can’t get my images to work but my css on the other hand works rather fine (some small problem with body).
My build.
- Ci Folder
- system
- application and all that.
- assets
- images
- css
- js
When linking from within a view file I use
/assets/images/imagehere.png
And exactly the same with my Css but my css work partially when linking this way.
/assets/css/stylehere.css
The current .htaccess file I ended up with so my http://ci.mysite.com/ works without errors displaying is—>
<IfModule mod_rewrite.c>
RewriteEngine On
RewriteCond %{REQUEST_FILENAME} !-f
RewriteCond %{REQUEST_FILENAME} !-d
RewriteRule ^(.*)$ /index.php/$1 [L]
</IfModule>
But I really don’t get why this should be such a big problem I just want it to work :(
And I don’t want to end up hard coding all the links :/
Best Regards
Kasper
