adelton / mod_authnz_pam

Apache module to run PAM authorization on result of other module's authentication; also full Basic Auth PAM provider.
https://www.adelton.com/apache/mod_authnz_pam/
Apache License 2.0
14 stars 9 forks source link

Use ap_get_useragent_host instead of ap_get_remote_host #14

Closed jakechenTW closed 3 years ago

jakechenTW commented 3 years ago
- according to https://www.apachelounge.com/Changelog-2.4.html,
  modules should be updated to inquire for ap_get_useragent_host()
  in place of ap_get_remote_host().

- use module magic number 20120211,56 to determine whether to use ap_get_useragent_host
(according to https://github.com/apache/httpd/blob/2.4.x/include/ap_mmn.h)
adelton commented 3 years ago

Thank you!