OpenIDC / mod_auth_openidc

OpenID Certified™ OpenID Connect Relying Party implementation for Apache HTTP Server 2.x
Apache License 2.0
990 stars 327 forks source link

ap_requires was removed in apache 2.4 #22

Closed nqsang90 closed 10 years ago

nqsang90 commented 10 years ago

I install openidc on apache2.4 and see this error:

Syntax error on line 1 of /etc/apache2/mods-enabled/auth_openidc.load: Cannot load /usr/lib/apache2/modules/mod_auth_openidc.so into server: /usr/lib/apache2/modules/mod_auth_openidc.so: undefined symbol: ap_requires Action 'configtest' failed.

As noted at http://httpd.apache.org/docs/current/developer/new_api_2_4.html, ap_requires was removed in apache2.4.

Can you add support for apache2.4? Thanks.

zandbelt commented 10 years ago

I've provided binary packages only for a stock Debian 7 (wheezy) install. You'll need to compile the module yourself; that should work against 2.4.

zandbelt commented 10 years ago

Since it is possible to compile yourself for 2.4 I'll close this issue. In due time I'll provide binary packages for various platforms including Apache 2.4 on Ubuntu/Debian.

zandbelt commented 10 years ago

I've added separate packages for Debian Wheezy (Apache 2.2) and Debian Jessie/Ubuntu Trusty (Apache 2.4) to release 1.5.3: https://github.com/pingidentity/mod_auth_openidc/releases/tag/v1.5.3

psankar commented 9 years ago

Hi, I am trying to migrate a different module (that uses ap_requires) from apache 2.2 to apache 2.4. Can you point me to the changes that you did so that I can understand what should be changed ? Thanks.

derekkddj commented 8 years ago

+1, psankar did u reselved this problem?

psankar commented 8 years ago

I could not. Thankfully that module was scheduled for rewrite and it saved me. But I have heard that with some compiler and linker options magic, it could be changed, but I have never tried that.

zandbelt commented 8 years ago

FWIW: I don't think it can be done without source code changes. But since it is not specific to mod_auth_openidc I suggest you try and find answers elsewhere, sorry.