LoginSignup
0
0

More than 5 years have passed since last update.

Vagrantの共有フォルダをDocumentRootとしたとき、CSSの更新が反映されない場合の対処方法

Posted at

現象

Vagrantの共有フォルダをApacheのDocumentRootとした環境でCSSを編集しても反映されなかった。

環境

  • Vagrant 2.0.0
  • Apache 2.2.15
  • CentOS release 6.9

対処方法

  • EnableMMAP OffEnableSendfile Offを追加する
/etc/httpd/conf/httpd.conf
・
・
<Directory "【ドキュメントルート】">
    EnableMMAP Off
    EnableSendfile Off
</Directory>
・
・
0
0
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
0
0