If you have a linux guest os, and your apache DocumentRoot is in a shared folder using vboxsf, you will experience zero-length responses to non-zero-sized files.
If you increase the loglevel in httpd.conf to info you'll see:
Invalid argument: core_output_filter: writing data to the network
The fix for your problem is here: http://httpd.apache.org/docs/2.0/faq/er ... r.sendfile
This is because virtualbox only has a partial filesystem driver implementation.
I'm assuming subversion has the same problem type of problem when it outputs:
Can't write to file 'TRUNK/.svn/tmp/entries': Protocol error
BTW: vboxsf, is that a typo? It's a crappy name for a fs, I hope it's renamed to vboxfs _very_ soon.
failing apache on vboxsf
-
- Posts: 3
- Joined: 13. Apr 2009, 16:19
- Primary OS: Mac OS X Leopard
- VBox Version: PUEL
- Guest OSses: Linux, Windows
Re: failing apache on vboxsf
I'd just like to thank you for this post, I spent hours trying to figure out why this was only happening with apache!
-
- Site Moderator
- Posts: 34369
- Joined: 6. Sep 2008, 22:55
- Primary OS: Linux other
- VBox Version: OSE self-compiled
- Guest OSses: *NIX
Re: failing apache on vboxsf
It stands for VBoxSharedFolder. I would not hold my breath waiting for it to change.BTW: vboxsf, is that a typo? It's a crappy name for a fs, I hope it's renamed to vboxfs _very_ soon.