2013-02-25から1日間の記事一覧
NginxとCodeIgniterの設定で、rewrite loopに陥ったのでメモ。URIはIndex.phpも省いて、コントローラ名も省いちゃいたいぜい。 (こんな感じのURLがお望み -> http://example.com/info) nginx側の設定 location / { rewrite /(.*)$ /index.php?c=xxx&m=$1; }(…
NginxとCodeIgniterの設定で、rewrite loopに陥ったのでメモ。URIはIndex.phpも省いて、コントローラ名も省いちゃいたいぜい。 (こんな感じのURLがお望み -> http://example.com/info) nginx側の設定 location / { rewrite /(.*)$ /index.php?c=xxx&m=$1; }(…