Adding mod_proxy_fcgi module to httpd via EasyApache !

mod_proxy_fcgi is the FastCGI support module for mod_proxy. Using the module mod_proxy, Apache can be configured as both a forward and reverse proxy. mod_proxy_fcgi makes this possible via the protocol FastCGI. You can read more about mod_proxy from the official Apache docs given here.

To add mod_proxy_fcgi  to your Apache list of modules, do the following :

– Create a file /var/cpanel/easy/apache/rawopts/Apache2_4 ( if apache is 2.4 ) else for Apache  2.2 the file name will change to  /var/cpanel/easy/apache/rawopts/Apache2_2

– Add this line and save the file :

–with-proxy-fcgi=static

Using this custom configure flags ( rawopts) , we can pass the module mod_proxy_fcgi to be added during the next EasyApache build :

# /scripts/easyapache