So I was editing a website on my Macbook running Apache2 with Lucee in Virtualbox. For some reason my CSS changes were not updating when I saved them. If I removed all the lines except for the first couple them it worked. Adding more lines would eventually corrupt the file being sent to the browser and no changes were displayed. I found the answer on a Stack Overflow post. in the httpd.conf file for Apache has EnableSendfile on this seems to be incompatible with the Virtualbox file system. Sos switching it to EnaleSendfile off will fix the problem. Below are the instructions for Centos.

nano /etc/httpd/conf/httpd.conf
ctrl-w EnableSendfile # search
# change on to off
ctrl-x # exit
y # to confirm
systemlctl restart httpd

Related Posts | notes | linux | virtualbox | css | apache |