Install mod proxy

First login into your server with the root login credentials

cd /home/cpapachebuild/buildapache/apache_1.3.31/src/modules/proxy/

or

cd /home/cpeasyapache/src/httpd-2.0.63/modules/proxy

Then run the command:

/usr/local/apache/bin/apxs -i -c *.c

Add the following module to the httpd.conf to load the proxy module with the httpd configuration file:

LoadModule proxy_module libexec/mod_proxy.so

And then restart the Apache service:

service httpd restart
or
/etc/init.d/httpd restart

Now check proxy installed or not on the server using the following command.

/usr/local/apache/bin/httpd -l | grep proxy

About Anant 376 Articles
Senior technical writer