If you are using a proxy server, configure Unwired Accelerator with the appropriate proxy settings. Make changes in the global.properties.xml file, located in $SYBASE/tomcat/webapps/onepage/config. The settings include:
proxy – enables a proxy server, if a squid type HTTP proxy is available.
proxy.host – identifies the proxy server name or IP address.
proxy.port – identifies the proxy server port number.
proxy.bypass_list – identifies a list of IP addresses or host names that should bypass the proxy server.
See the Unwired Accelerator Administration
Guide for more information about the global.properties.xml file
and setting up a proxy server.
Configuring UA to access the Internet through
a proxy server
Use this approach when UA needs to use a proxy to access Web sites on the Internet.
Navigate to $SYBASE/tomcat/webapps/onepage/config.
In a text editor, open global.properties.xml and change the proxy value to “on.” For example:
Property name="proxy" value="on" description=”(on/off). on ONLY if a http proxy server is installed/available” menugroup="10"/
Change the proxy.host value to the IP address or host name of the proxy server. For example, if your proxy server host name is “proxy.hostname.com,” the line looks like this:
Property name="proxy.host" value="proxy.hostname.com" description="(127.0.0.1). configure only if proxy=on. IP of the http proxy server” menugroup="100"/
Change the proxy.port value to the port number on which the proxy server is running. For example, if the port is 3128, the line looks like this:
Property name ="proxy.port" value="3128" description= "(3128). configure only if proxy=on. port where http proxy server is running” menugroup="100"/
To the proxy.bypass_list value, add the IP addresses or host names to bypass the proxy server. Keep the loopback address and local host in the bypass list. For example, if you want requests for URLs that end with “sybase.com” or start with “syberspace” to bypass the proxy server, enter:
Property name="proxy.bypass_list" value ="127.0.0.1|localhost" description="(host1|host2). please read HTTPConnection javadocs for info on dontProxyFor() method for more info" menugroup="100"/
Configuring end user access to UA (via a firewall
and reverse proxy)
Use this approach when an end-user is trying to access UA, but must go through a firewall and reverse proxy to access it.
Modify the global.properties.xml file:
Navigate to $SYBASE/tomcat/webapps/onepage/config.
In a text editor, open global.properties.xml and change the proxy value to “on.”
Set the proxy.host and proxy.port values to the host and port values where the reverse proxy is running.
Save the changes and close the file.
Modify the server.xml file, by
adding the proxyName and proxyPort attributes
to the <Connector>
element.