06-15-2010, 07:06 AM
[eluser]GamingFusion[/eluser]
ok heres what i got
and heres my link to an image
and the image doesnt load, when i copy the image location and open it in another tab and i get a 404 page but not the CI 404
ok heres what i got
Code:
<IfModule mod_rewrite.c>
# activate URL rewriting
RewriteEngine On
# do not rewrite links to website assets
RewriteCond $1 !^assets
# do not rewrite for php files in the document root or robots.txt
RewriteCond $1 !^([^\..]+\.php|robot\.txt)
# do not rewrite requests for the standard asset files
RewriteCond $1 !\.(css|js|png|jpg|gif|zip|gz|htc)$
# but rewrite everything else
RewriteRule ^(.*)$ index.php/$1 [L]
</IfModule>
<IfModule !mod_rewrite.c>
# If we don't have mod_rewrite installed, all 404's
# can be sent to index.php, and everything works as normal.
ErrorDocument 404 /index.php
</IfModule>
and heres my link to an image
Code:
<a href="#"><img src="<?php echo base_url();?>assets/images/logo.png" alt="logo" border="0"/></a>
and the image doesnt load, when i copy the image location and open it in another tab and i get a 404 page but not the CI 404