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