Welcome Guest, Not a member yet? Register   Sign In
New problem in $_GET due to removing index.php in CI 2.0.2
#6

[eluser]Ali Fattahi[/eluser]
[quote author="Ben Swinburne" date="1308075350"]Presumably you have removed index.php from the config file because you're using clean URLs?

Could you post your .htaccess file contents please.[/quote]

yes i have removed index.php in config.php

and the .htaccess content
Code:
<IfModule mod_rewrite.c>
    RewriteEngine On
    RewriteBase /SabaPay

    RewriteCond %{REQUEST_URI} ^system.*
    RewriteRule ^(.*)$ /index.php?/$1 [L]
    
    RewriteCond %{REQUEST_URI} ^application.*
    RewriteRule ^(.*)$ /index.php?/$1 [L]

    RewriteCond %{REQUEST_FILENAME} !-f
    RewriteCond %{REQUEST_FILENAME} !-d
    RewriteRule ^(.*)$ index.php?/$1 [L]
</IfModule>  

<IfModule !mod_rewrite.c>
    # If we don't have mod_rewrite installed, all 404's
    # can be sent to index.php, and everything works as normal.
    # Submitted by: ElliotHaughin

    ErrorDocument 404 /index.php
</IfModule>


Messages In This Thread
New problem in $_GET due to removing index.php in CI 2.0.2 - by El Forum - 06-14-2011, 11:52 PM



Theme © iAndrew 2016 - Forum software by © MyBB