Welcome Guest, Not a member yet? Register   Sign In
Images, Styles, Scripts not view

Hello all,
I'm newbie in CI. Now i start my project CI.

If i put this .htaccess code in my server - images,styles,scripts not view.

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

If i remove this .htaccess file, show all things but URL show's index.php ie. http://localhost/index.php/filename
there any problem in my .htaccess or anything.
what can i do. please help me.


Try something like:

RewriteEngine On
RewriteBase /
RewriteCond %{REQUEST_FILENAME} !-f
RewriteCond %{REQUEST_FILENAME} !-d
RewriteRule ^(.*)$ index.php/$1 [L]

Its also not working ....
Please anybody help me....

You might get more response if you include the error message and describe what is not working.
Also, did you install CI in the root or in a subdir?

Theme © iAndrew 2016 - Forum software by © MyBB