Control Web Panel

WebPanel => Addons => Topic started by: DeveloperMcD on October 22, 2022, 05:27:06 AM

Title: How to install Mod XSendfile
Post by: DeveloperMcD 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?
Title: Re: How to install Mod XSendfile
Post by: bullten 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