[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'