Codeigniter の URL から index.php を削除する際に問題が発生しました。
私のライブURL:「http://ec2-174-129-44-226.compute-1.amazonaws.com」ライブサーバーの問題
ローカルにも問題があります
以下のコードを使用してみました。
RewriteEngine on
RewriteCond $1 !^(index.php|resources|robots.txt)
RewriteCond %{REQUEST_FILENAME} !-f
RewriteCond %{REQUEST_FILENAME} !-d`
RewriteRule ^(.*)$ index.php/$1 [L,QSA]
ただし、ローカルのワンプサーバーでエラーが発生します
"内部サーバーエラー
サーバーで内部エラーまたは構成ミスが発生したため、リクエストを完了できませんでした。
サーバー管理者の admin@localhost に連絡して、エラーが発生した時刻と、エラーの原因となった可能性のある操作を知らせてください。
このエラーの詳細については、サーバー エラー ログを参照してください。」
お願いします.....助けてください...私...ありがとう....