Welcome Guest, Not a member yet? Register   Sign In
This problem can sometimes be caused by disabling or refusing to accept cookies.
#1

[eluser]Arivusudar[/eluser]
Hi,

I am using CI for online directory. In my local host its working fine but in my server am getting "This problem can sometimes be caused by disabling or refusing to accept cookies." this error in browser. am getting this same error in all browsers i dont know why its happen
my .htaccess is,

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

If am removing .htaccess file am getting file not found error.

if i giving index.php in my url working fine.. how can i redirect without error..
#2

[eluser]Shay Falador[/eluser]
Change your htaccess to:
Code:
RewriteEngine On

RewriteCond $1 !^(index\.php|images|robots\.txt)
RewriteCond %{REQUEST_FILENAME} !-f
RewriteCond %{REQUEST_FILENAME} !-d
RewriteRule ^(.*)$ index.php?/$1 [L]

Don't forget to set the index_page to empty string / null int the config.




Theme © iAndrew 2016 - Forum software by © MyBB