You are not logged in.

#1 2016-07-22 00:12:19

jernst
Member
From: Silicon Valley
Registered: 2014-03-04
Posts: 290
Website

SOLVED: Apache mod_xsendfile

Trying to get mod_xsendfile from AUR to work. Builds fine, and I attempt to activate it with

LoadModule xsendfile modules/mod_xsendfile.so

Getting error:

Can't locate API module structure `xsendfile' in file /etc/httpd/modules/mod_xsendfile.so: /etc/httpd/modules/mod_xsendfile.so: undefined symbol: xsendfile

Stumped what this is supposed to mean. The file in question looks right:

> ls -al /etc/httpd/modules/mod_xsendfile.so
-rwxr-xr-x 1 root root 14808 Jul 22 00:06 /etc/httpd/modules/mod_xsendfile.so
> file /etc/httpd/modules/mod_xsendfile.so
/etc/httpd/modules/mod_xsendfile.so: ELF 64-bit LSB shared object, x86-64, version 1 (SYSV), dynamically linked, BuildID[sha1]=205d187a3608cb1c5b6837d57a11ba5e663c8c59, stripped

Ideas?

Last edited by jernst (2016-07-22 17:03:19)

Offline

#2 2016-07-22 17:03:03

jernst
Member
From: Silicon Valley
Registered: 2014-03-04
Posts: 290
Website

Re: SOLVED: Apache mod_xsendfile

Turns out the correct statement in the Apache config is:

LoadModule xsendfile_module /usr/lib/httpd/modules/mod_xsendfile.so

and not

LoadModule xsendfile /usr/lib/httpd/modules/mod_xsendfile.so

Offline

Board footer

Powered by FluxBB