codeigniter problem with mod_rewrite on apache 1.3

Posted by Shawn on Stack Overflow See other posts from Stack Overflow or by Shawn
Published on 2009-09-18T06:27:01Z Indexed on 2010/05/22 14:10 UTC
Read the original article Hit count: 181

Filed under:
|
|

Anybody came into this before?

Hosting a site on godaddy, the site is developed in codeigniter framework(php), to get pretty url, put this into .htacess

RewriteEngine on
RewriteCond $1 !^(index\.php|images|robots\.txt)
RewriteRule ^(.*)$ /index.php/$1 [L]

problem is only domain.com/index.php seems to work, other urls e.g domain.com/user/login won't work, codeigniter always returns '404 page'.

Is there anything going on with godaddy's mod_rewrite or just their apache which as I know is version 1.3.

Any clue?

[update] a bit CI debug, found /system/libraries/Router.php line 239, line

show_404( $segments[0] ); always gets invoded.

$segments [ 0=>'index.php' ], that seems to be the problem, but why? All works on my dev box which is in apache2

© Stack Overflow or respective owner

Related posts about mod-rewrite

Related posts about codeigniter