Welcome Guest, Not a member yet? Register   Sign In
Ridiculous redirect to index.php/
#1

[eluser]Unknown[/eluser]
Hi all!
Sorry for my English is very limited.

I have the following file .htaccess:

<IfModule mod_rewrite.c>
Options +FollowSymLinks -Indexes
RewriteEngine on

RewriteCond %{REQUEST_FILENAME} !-f
RewriteCond %{REQUEST_FILENAME} !-d

RewriteCond $1 !^(index\.php|resources)
RewriteRule ^(.*)$ http://www.mysite.com/index.php/$1 [L]
</IfModule>

When I write http://www.mysite.com/controller/method in my browser, automatically redirect to http://www.mysite.com/index.php/controller/method
WHY????

My config.php file:

$config['index_page'] = '';
$config['uri_protocol'] = 'AUTO';




Theme © iAndrew 2016 - Forum software by © MyBB