LoginSignup
9
0

More than 5 years have passed since last update.

Win+Vagrant環境でマウントしたJS(CSS)ファイルが正常に反映されない時の対処法

Posted at

Win + Vagrant + CentOS + Apache の仮想環境で、HostOS側のファイル編集がなぜかうまく反映されずにハマったのでメモ。

httpd.conf の EnableSendfile 設定を off にしてあげるとなおった。

# sudo vi /etc/httpd/conf/httpd.conf

EnableSendfile on
↓
EnableSendfile off

$ sudo systemctl restart httpd

9
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
9
0