file paths are wrong

#11
[eluser]GamingFusion[/eluser]
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="&lt;?php echo base_url();?&gt;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


Messages In This Thread
file paths are wrong - by El Forum - 06-14-2010, 11:48 AM
file paths are wrong - by El Forum - 06-14-2010, 12:05 PM
file paths are wrong - by El Forum - 06-14-2010, 12:14 PM
file paths are wrong - by El Forum - 06-14-2010, 12:37 PM
file paths are wrong - by El Forum - 06-14-2010, 08:31 PM
file paths are wrong - by El Forum - 06-14-2010, 10:11 PM
file paths are wrong - by El Forum - 06-15-2010, 12:53 AM
file paths are wrong - by El Forum - 06-15-2010, 06:08 AM
file paths are wrong - by El Forum - 06-15-2010, 06:21 AM
file paths are wrong - by El Forum - 06-15-2010, 06:29 AM
file paths are wrong - by El Forum - 06-15-2010, 07:06 AM
file paths are wrong - by El Forum - 06-15-2010, 08:19 AM
file paths are wrong - by El Forum - 06-15-2010, 08:28 AM
file paths are wrong - by El Forum - 06-15-2010, 08:42 AM
file paths are wrong - by El Forum - 06-15-2010, 08:53 AM
file paths are wrong - by El Forum - 06-15-2010, 09:14 AM
file paths are wrong - by El Forum - 06-15-2010, 09:25 AM
file paths are wrong - by El Forum - 06-15-2010, 09:28 AM
file paths are wrong - by El Forum - 06-15-2010, 09:28 AM
file paths are wrong - by El Forum - 06-15-2010, 09:36 AM

Digg   Delicious   Reddit   Facebook   Twitter   StumbleUpon  


  Theme © 2014 iAndrew  
Powered By MyBB, © 2002-2021 MyBB Group.