Edit the /etc/httpd/conf/httpd.conf file by using the following Terminal command:
vi /etc/httpd/conf/httpd.conf
Input the entries listed below after pressing the 'i' key in between the lines that have been hashed out and include your proxy FQDN (Fully Qualified Domain Name) as well as the port to be used:
# Set Environment to allow the application to pass # through a forward proxy. Sites must not require any # authentication in order for these environments to work. # These settings are also in the environment file located # in /etc/environment. SetEnv http_proxy http://proxy.fqdn.com:port/ SetEnv https_proxy https://proxy.fqdn.com:port/ SetEnv HTTP_PROXY http://proxy.fqdn.com:port/ SetEnv HTTPS_PROXY https://proxy.fqdn.com:port/ #SetEnv no_proxy localhost #PassEnv http_proxy https_proxy
Type ':wq' to commit the changes to the httpd.conf file and run the following command from the Terminal:
vi /etc/init.d/appcenter-celery
Input the entries listed below after the '. /etc/rc.d/init.d/functions' entry and before the 'errorOut()' entry:
#!/bin/bash # chkconfig: 345 99 02 # description: Celery worker starter . /etc/rc.d/init.d/functions export HTTP_PROXY=http://proxy.fqdn.com:port/ export HTTPS_PROXY=https://proxy.fqdn.com:port/ errorOut() { echo "$1" exit 1 }
Restart the Mobility Suite services by using the following command from the Terminal and the Mobility Suite should now be configured to use the forward proxy:
/etc/init.d/appcenter-services restart