URL から index.php を除く
すっかり忘れていたので、備忘録として残す。
RewriteEngine on RewriteBase /myapplication/ RewriteCond $1 !^(index\.php|images|robots\.txt) RewriteRule ^(.*)$ index.php/$1 [L]
.htaccess ファイルを作成し、Kohana のトップディレクトリに配置する。
index.php ファイルをURLから除去する
すっかり忘れていたので、備忘録として残す。
RewriteEngine on RewriteBase /myapplication/ RewriteCond $1 !^(index\.php|images|robots\.txt) RewriteRule ^(.*)$ index.php/$1 [L]
.htaccess ファイルを作成し、Kohana のトップディレクトリに配置する。
index.php ファイルをURLから除去する