Proxy Error

Top  Previous  Next

If account users complain of a "Web Server Proxy Connector Missing" Error, please

review the following.

 

Apache Web Server:

mod_proxy

In Plesk, proxy is enabled by default, so you may skip this subject if

using Plesk. mod_proxy should be enabled as a minimum.

Optionally mod_ajp may be used (for Apache 2.2.x).

However mod_jk cannot be used as it does not support multiple

web account environments.

 

Installing mod_proxy for cPanel

Please note by default NGASI AppServer Manager automatically

attempts to install mod_proxy if not found at

/usr/local/apache/libexec/mod_proxy. So for WHM 10.x/cPanel 10.x and

WHM 11.x/cPanel 11.x installs, If after starting NGASI AppServer

Manager for the first time and /usr/local/apache/libexec/mod_proxy.so

does not exists, install by using the steps below.

Installing mod_proxy for cPanel could be tricky. However thanks to the

web and sites such as Google and cPanel Forums you can find a number

of write ups on this topic for your specific environment.

The following is an how-to based on a WHM 10.x/cPanel 10.x and

WHM 11.x/cPanel 11.x install.

 

1)cd /home/installd/buildapache/apache_1.3.37/src/modules/proxy

(/home or whichever directory cPanel was installed from).

2)/usr/local/apache/bin/apxs -c -i -a *.c

3)httpd restart

NOTE: If using Apache 1.3.x, you must set the value for

cpanelProxyPreserveHost to false in the NGASI configuration file

located : /usr/ngasi/webapps/ROOT/WEB-INF/ws/webapps/appservermgr/ZP-INF/wsportal.properties

 

If there are no errors then the install was successful.

 

For cPanel/WHM and Plesk, the default httpd.conf file is located here:

/etc/httpd/conf/httpd.conf or /usr/local/apache/conf/httpd.conf

 

mod_proxy_ajp

The default Proxy used is Http (mod_proxy). If require AJP,

make sure the module is properly installed and loaded in the httpd.conf

file. Then for cPanel, add the full path of the included library or

module like so

(in /usr/ngasi/webapps/ROOT/WEB-INF/ws/webapps/appservermgr/ZP-INF/wsportal.properties):

cpanelmodajpmodule=/usr/local/apache/libexec/mod_proxy_ajp.so

 

And for Plesk:

pleskmodajpmodule=/usr/lib/httpd/modules/mod_proxy_ajp.so

 

If the proxy module is builtin as in Apache 2.2.x, with ajp support,

then add the following to the

/usr/ngasi/webapps/ROOT/WEB-INF/ws/webapps/appservermgr/ZP-INF/wsportal.properties

file:

(for cPanel)

cpanelbuildinajpmodule=true

(for Plesk)

pleskbuildinajpmodule=true

IIS:

The default protocol used is AJP. No configuration is required.