Welcome Guest, Not a member yet? Register   Sign In
Why RewriteRule index.php [L] is no more sufficient
#3

[eluser]WebMada[/eluser]
indeed, ? is required by my hoster

Thanks, it's a good solution. Now I can restore in my config.php
$config['uri_protocol'] = 'AUTO' instead of $config['uri_protocol'] = 'REQUEST_URI'

My .htaccess looks like now:
Code:
RewriteEngine On
RewriteBase /test_uploads_ci2/

# Do not enable rewriting for files or directories that exist
RewriteCond %{REQUEST_FILENAME} !-f
RewriteCond %{REQUEST_FILENAME} !-d

# PHP5
<IfModule mod_php5.c>
    RewriteRule ^(.*)$ index.php/$1 [L,QSA]
</IfModule>

#PHP4
<IfModule !mod_php5.c>
    RewriteRule ^(.*)$ index.php?/$1 [L,QSA]
</IfModule>


Messages In This Thread
Why RewriteRule index.php [L] is no more sufficient - by El Forum - 05-26-2011, 12:23 AM
Why RewriteRule index.php [L] is no more sufficient - by El Forum - 05-26-2011, 02:34 AM
Why RewriteRule index.php [L] is no more sufficient - by El Forum - 05-26-2011, 03:00 AM



Theme © iAndrew 2016 - Forum software by © MyBB