Search code examples
apacheapache2amazon-ec2apache-modules

xsendfile on Amazon EC2 AMI


I'm trying to install xsendfile on Amazon's own Linux AMI with this command:

yum install mod_xsendfile 

but it can't find the package. Can anyone help with a solution please?


Solution

  • You can try this, but you might have to download some packages to be able to compile it

    wget https://tn123.org/mod_xsendfile/mod_xsendfile.c --no-check-certificate

    and for apache2 to compile it's:

    apxs2 -cia mod_xsendfile.c