How to upgrade Apache 2.2.15 to 2.4.4 in CentOS?

What causes old versions of files to be delivered by Apache on CentOS 6?

  • I have CentOS running as a VM via VirtualBox on a Win 7 host.  I dev on the host and mount the directory of web deliverables on the guest system via a VirtualBox shared drive.  Interpreted stuff updates, but static CSS and JS do not.  No caching is enabled in Apache. A wget performed on the guest gives the same results.  It's definitely not a client-side issue.

  • Answer:

    I managed to answer this one on my own.  The issue stems from the files in question being mounted as a network (in this case vboxsf) drive.  Disabling SendFile in Apache fixes the issue.  I wouldn't suggest this in a production environment, but it's fine for a dev box. More info - http://timothynott.com/blog/2011/07/virtualbox-revenge-of-the-shared-drive/

Timothy Nott at Quora Visit the source

Was this solution helpful to you?

Related Q & A:

Just Added Q & A:

Find solution

For every problem there is a solution! Proved by Solucija.

  • Got an issue and looking for advice?

  • Ask Solucija to search every corner of the Web for help.

  • Get workable solutions and helpful tips in a moment.

Just ask Solucija about an issue you face and immediately get a list of ready solutions, answers and tips from other Internet users. We always provide the most suitable and complete answer to your question at the top, along with a few good alternatives below.