私はlaravelの新機能です。https://localhost/test/public/index.php/test1などの各ルートのindex.phpをhttps://localhost/test/public/test1に削除しようとしています。 この問題を解決するためにmod_rewriteコードを使用できますが動作しません。 パブリックフォルダ内にあることができ、.htaccessファイルでの私のコードは以下の通りです: -laravel 5.2でかなりのURLを作成する方法は?
Options -MultiViews
RewriteEngine On
RewriteCond %{REQUEST_FILENAME} !-d
RewriteCond %{REQUEST_FILENAME} !-f
RewriteRule^index.php [L]
それはエラー
3210
が重複する可能性がインデックスを削除してみ示し.php from url](http://stackoverflow.com/questions/4365129/htaccess-remove-index-php-from-url) – Lag