タイトル: Webサーバの設定
Apacheについて
LaravelにはURLパスにフロントコントローラのindex.phpを付けなくて済むように、public/.htaccessファイルが用意されている。
もし.htaccessファイルが、Apacheで動作しない場合、以下の代替設定を試す。
|
Options +FollowSymLinks RewriteEngine On
RewriteCond %{REQUEST_FILENAME} !-d RewriteCond %{REQUEST_FILENAME} !-f RewriteRule ^ index.php [L] |