Welcome Guest, Not a member yet? Register   Sign In
Anyone successful at setting up CI to use querystring AND uri on 1and1 shared hosting?
#1

[eluser]taewoo[/eluser]
I am going crazy. Can't quite figure this out. Can anyone share their .htacess and config.php?

my current .htaccess:

Code:
AddType x-mapp-php5 .php
AddHandler x-mapp-php5 .php

<IfModule mod_rewrite.c>
    DirectoryIndex index.php
        RewriteEngine on
        RewriteBase /
        RewriteCond $1 !^(index\.php|images|css|js|robots\.txt|favicon\.ico)
        RewriteCond %{REQUEST_FILENAME} !-f
        RewriteCond %{REQUEST_FILENAME} !-d
        RewriteRule ^(.*)$ ./index.php?/$1 [L,QSA]

</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>

and in config.php

Code:
$config['uri_protocol']    = 'REQUEST_URI'


Messages In This Thread
Anyone successful at setting up CI to use querystring AND uri on 1and1 shared hosting? - by El Forum - 01-08-2010, 09:46 PM



Theme © iAndrew 2016 - Forum software by © MyBB