3

I upgraded to Apache 2.4 from 2.2 and noticed that I am missing the mod_access_compat.so file in the modules directory. My question is simple, how do I compile this file?

1 Answer 1

3

It seems to have been deprecated and replaced by mod_authz_host. Though there are RPMs (I see no DEB packages) that claim to be compatible with appache 2.4.

8
  • To add onto what ClassicThunder wrote, the following documentation from the Apache Project should give you some insight especially this part: > The Allow, Deny, and Order directives, provided by mod_access_compat, are deprecated and will go away in a future version. You should avoid using them, and avoid outdated tutorials recommending their use. Jan 23, 2014 at 2:29
  • [root@ADM-MAP-TEST-APP-ENGG conf]# rpm -ivh apache-mod_access_compat-2.4.2-0.1-mdv2012.0.x86_64.rpm warning: apache-mod_access_compat-2.4.2-0.1-mdv2012.0.x86_64.rpm: Header V3 DSA signature: NOKEY, key ID 26752624 error: Failed dependencies: rpmlib(PayloadIsXz) <= 5.2-1 is needed by apache-mod_access_compat-2.4.2-0.1.x86_64 May 13, 2016 at 13:54
  • I want to migrate virtual host site from one ec2-instance to another but getting mod_access_compat.so error, My apache version is same on both boxes [root@ADM-MAP-TEST-APP-ENGG conf]# httpd -V Server version: Apache/2.2.9 (Unix) May 13, 2016 at 13:59
  • Server built: Jul 14 2008 15:27:43 Server's Module Magic Number: 20051115:15 Server loaded: APR 1.2.11, APR-Util 1.2.10 Compiled using: APR 1.2.11, APR-Util 1.2.10 Architecture: 64-bit Server MPM: Prefork threaded: no May 13, 2016 at 13:59
  • forked: yes (variable process count) Server compiled with.... -D APACHE_MPM_DIR="server/mpm/prefork" -D APR_HAS_SENDFILE -D APR_HAS_MMAP May 13, 2016 at 14:00

You must log in to answer this question.