Configuring for a proxy server

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:

NoteSee the Unwired Accelerator Administration Guide for more information about the global.properties.xml file and setting up a proxy server.

StepsConfiguring 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.

  1. Navigate to $SYBASE/tomcat/webapps/onepage/config.

  2. 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"/
    
  3. 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"/
    
  4. 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"/
    
  5. 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"/
    

StepsConfiguring 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.

  1. Modify the global.properties.xml file:

    1. Navigate to $SYBASE/tomcat/webapps/onepage/config.

    2. In a text editor, open global.properties.xml and change the proxy value to “on.”

    3. Set the proxy.host and proxy.port values to the host and port values where the reverse proxy is running.

    4. Save the changes and close the file.

  2. Modify the server.xml file, by adding the proxyName and proxyPort attributes to the <Connector> element.