What is that? mod_xsendfile is a module for apache webserver, which handles file headers.
Why am I installing it? To support the playback of videos from WordPress to iPads. If you see a crossed out play button on the iPad you need to enable mod_xsendfile on your server.
How to install:
You need the EPEL repository to be installed on your server, like this:
rpm -Uhv http://download.fedoraproject.org/pub/epel/6/i386/epel-release-6-8.noarch.rpm
Then do:
yum update
and finally:
yum install mod_xsendfile
Now we need to configure Apache to use the module:
Use VI to edit the file:
vi /etc/httpd/conf.d/vhost.YOURDOMAINNAME.conf
Add the line:
XSendFilePath /home/NICKNAME/YOURDOMAINNAME/html
Then, we need to configure WordPress to use the module:
vi /home/NICKNAME/YOURDOMAINNAME/html/wp-conf.php
Add the line:
define('WPMU_SENDFILE', true);
Finally,
Restart Apache from NodeWorx>System Services. Click action restart.
Try it, you should now be able to watch videos play from WordPress on iPads.