Can't enable apache mod_proxy module on mac os x

1.4k Views Asked by At

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.

0

There are 0 best solutions below