codeigniter プロジェクトを使用して、次の共有ホスティング ファイル構造があります。
myTLD.com/sites/mysite
mysite contains: application, system , index.php ... ( standard CI2 setup )
myTLD.com/public_html - contains : index.php
myTLD.com/public_html/index.php を myTLD.com/sites/mysite/index.php にシンボリックリンクしました
残念ながら私は得ています:
Your system folder path does not appear to be set correctly. Please open the following file and correct this: index.php
セキュリティ上の理由から、実際のサイトをドキュメント ルートに配置しないように、このように設定しました。プロジェクト全体を簡単に修正できる mysite ディレクトリに保持したいので、 mysite/index.php を変更したくありません。
アプリケーションと mysite/ フォルダーは 755 に設定されているため、これはパーミッションの問題ではないと思います。
私の myTLD.com/public_html/.htaccess フォルダーは、すべてのリクエストを index.php に送信します。
RewriteEngine On
RewriteRule ^(.*)$ index.php
このエラーを発生させずに、リクエストを codeigniter インデックス ファイルに送信する方法について誰かアドバイスしてもらえますか?
ありがとうございました