Codeigniter's URL Rewriting Problem

Posted by Saiful on Stack Overflow See other posts from Stack Overflow or by Saiful
Published on 2010-06-08T04:59:55Z Indexed on 2010/06/08 5:02 UTC
Read the original article Hit count: 289

Filed under:
|
|
|
|

I’ve using the following htaccess script so that i can hide index.php from the uri.

RewriteEngine on
RewriteCond $1 !^(index\.php|resources|robots\.txt)
RewriteCond %{REQUEST_FILENAME} !-f
RewriteCond %{REQUEST_FILENAME} !-d
RewriteRule ^(.*)$ index.php/$1 [L,QSA]

But i’ve facing a major problem :(

I’ve a directory named assets beside my index.php file and it should be there. Now when i browse the directory by browser then the codeigniter’s not found page displays. I can’t browser the file /assets/image.jpg but it displays when i call it from an tag

What can i do now?

Note that it is working in my local server (localhost) but not in the live server. Signature

$@!ful

© Stack Overflow or respective owner

Related posts about php

Related posts about url