I\'m running vagrant on OSX, Ubuntu, and Windows 7 and using vim and Netbeans as IDEs on the host machine. The VM is running CentOS 6.3 and Apache 2.2. The docroot is set to
It depends on what server you are using.
For Nginx: in /etc/nginx/nginx.conf
:
change the line that contains sendfile on;
to sendfile off;
.
For Apache: in /etc/httpd/conf/httpd.conf
:
change remove comment for EnableSendfile off;
And don't forget restart
your Nginx or Apache. If it still doesn't work, exit
and vagrant reload
or something like that - restart your VM.