CakePHPでは[app/webroot/index.php]がFront Controllerになっているのですが、これを他のファイル名に変える方法です。(DocumentRootがapp/webrootになっている場合) 1. index.phpを他のファイル名に変更 ここではgw.phpをFront Controllerにします。 $ mv index.php gw.php 2. .htaccessを変更 あとはapp/webroot/.htaccessのRewriteRuleを変更すればokです。 <IfModule mod_rewrite.c> RewriteEngine On RewriteCond %{REQUEST_FILENAME} !-d RewriteCond %{REQUEST_FILENAME} !-f # RewriteRule ^(.*)$ index.ph