epmmis
asked on
Pointing Red Hat Linux to Proxy Server
We have a web app installed in Apache-Tomcat 6.0.18. Apache is installed on Red Hat AS4 u8 server.
The web app has the capability to connect to data on the internet using a http URL. The problem is the server is behind our firewall and cannot directly access the internet. The server can reach the internet via the proxy server.
How do I configure the server so outbound http traffic goes through the proxy server.
The web app has the capability to connect to data on the internet using a http URL. The problem is the server is behind our firewall and cannot directly access the internet. The server can reach the internet via the proxy server.
How do I configure the server so outbound http traffic goes through the proxy server.
Does the app support http proxies?
ASKER CERTIFIED SOLUTION
membership
This solution is only available to members.
To access this solution, you must be a member of Experts Exchange.
Set the http_proxy variable and export it.
Try these two commands:
http_proxy=http://urltoyourproxy:port
export http_proxy
Try these two commands:
http_proxy=http://urltoyourproxy:port
export http_proxy
Set the environmental variable HTTP_PROXY in your profile to your proxy:
export HTTP_PROXY=http://host:port
If it requires authentication you can use export HTTP_PROXY="http://username:password@host:port"
export HTTP_PROXY=http://host:port
If it requires authentication you can use export HTTP_PROXY="http://username:password@host:port"
ASKER
none