http://localhost/hoge/index.phpがindex.phpの場所なんだけど、
htacccessで

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

と記述した場合、
http://localhost/hoge/
だとindex.phpが表示されるが、
http://localhost/hoge/test/
としても、test.phpが呼び出されず404エラーです。
Rewriteの指定間違えてるのかな・・・?