Author Topic: How to install Mod XSendfile  (Read 1771 times)

0 Members and 1 Guest are viewing this topic.

Offline
*
How to install Mod XSendfile
« on: October 22, 2022, 05:27:06 AM »
Here are the instructions
https://tn123.org/mod_xsendfile/

But I can't run apxs because that would involve using the plain-vanilla Apache2 that comes with Alma Linux (etc.) rather than the one managed by CWP.

How do I install this simple module in Apache2?

Offline
***
Re: How to install Mod XSendfile
« Reply #1 on: October 22, 2022, 06:49:04 AM »
Quote
yum install httpd-devel -y
git clone https://github.com/nmaier/mod_xsendfile.git
cd mod_xsendfile
/usr/local/apache/bin/apxs -cia mod_xsendfile.c
systemctl restart httpd