さまざまなサブサイトを処理する codeigniter のコントローラーを取得しました。
site/index/1
サブサイト A のコンテンツを取得しますsite/index/2
サブサイト B のコンテンツを取得します
ここで、これらのサブ サイトのドメイン名を登録することにしました。
必要なもの:
http://www.subsite1.com -> default controller should be site/index/1
site/index/1
URI に がありません。
http://www.subsite2.com -> default controller should be site/index/2
site/index/2
URI に がありません。
いじって遊んでみましroutes.php
たが、どこにも行きません..誰かが私を正しい方向に向けることができますか?