1

Trying to enable proxy module for apache on the mac os x system (latest version - catalina 10.15.5). However, after uncommenting the lines

LoadModule proxy_module modules/mod_proxy.so
LoadModule proxy_connect_module modules/mod_proxy_connect.so
LoadModule proxy_http_module modules/mod_proxy_http.so

in the httpd.conf to load the proxy module, and running

/usr/sbin/apachectl -V

getting the error:

httpd: Syntax error on line 137 of /private/etc/apache2/httpd.conf: Cannot load libexec/apache2/mod_proxy_connect.so into server: dlopen(/usr/libexec/apache2/mod_proxy_connect.so, 10): Symbol not found: _ap_proxy_checkproxyblock2\n Referenced from: /usr/libexec/apache2/mod_proxy_connect.so\n Expected in: flat namespace\n in /usr/libexec/apache2/mod_proxy_connect.so

Server version: Apache/2.4.41 (Unix)

Files exist at the given location and it is not the permission issue (tested different ways, even copied files to different locations):

screenshot

It seems a dead end.

How to fix the issue or how to enable apache proxy module for mac os x?

Thanks.

Avag Sargsyan
  • 2,437
  • 3
  • 28
  • 41
  • Looks like mod_proxy compatibility issue. are you using compile Apache httpd or rpm base Apache httpd? – Pandurang Jul 14 '20 at 03:29
  • 1
    @Pandurang I'm using the mac os default apache web server, also tried to reinstall it, missing anything here? – Avag Sargsyan Jul 14 '20 at 08:57
  • I am not sure about mac os but for centos, the proxy module comes with Apache HTTPD. Only need to add ProxyPass configuration. – Pandurang Jul 14 '20 at 09:25

0 Answers0