LoginSignup
1
1

More than 3 years have passed since last update.

coreserverでFuelPHPを使うとInternal Server Errorになる時の対処法

Last updated at Posted at 2016-05-08

さくらVPSでのサイト運用がめんどくさくなり、coreserverに戻ってみると、FuelPHPを利用したサイトでInternal Server Errorが表示されてしまい、悩みに悩みまくった。

調査

public_htmlに入れた.htaccessをリネームすると、ひとまずトップページ(hogehoge.com/index.php/)は表示できたので、.htaccessが怪しい。

各設定項目を削って動作確認していくと、以下の記述があるとInternal Server Errorとなることがわかった。

Options +FollowSymLinks -Indexes

解決編

コアサーバーApache/PHPのバージョンアップ

セキュリティ上の理由より、「Options ALL」を禁止としました。制御できるオプションは、ExecCGI, Includes, MultiViews, Indexes に限らせていただきます。

これかー!じゃあ大人しくコメントアウトしますか…。
(じゃあシンボリックリンクは使えなくなるのか…?

1
1
0

Register as a new user and use Qiita more conveniently

  1. You get articles that match your needs
  2. You can efficiently read back useful information
  3. You can use dark theme
What you can do with signing up
1
1