初期設定のままだとURIルーティングがうまくいかない。
そこで下記のようにする。
1.さくらインターネットコントロールパネルにログインし、
「php設定の編集」php.iniの編集にて
cgi.fix_pathinfo = 1
の一行を追加する。
2.同梱されている.htaccessを
RewriteEngine On
RewriteBase /
RewriteCond %{REQUEST_FILENAME} !-d
RewriteCond %{REQUEST_FILENAME} !-f
RewriteRule ^(.*)$ /index.php?/$1 [L]
RewriteBase /
RewriteCond %{REQUEST_FILENAME} !-d
RewriteCond %{REQUEST_FILENAME} !-f
RewriteRule ^(.*)$ /index.php?/$1 [L]
に書き換える。