If you are using a proxy server, you must configure Unwired Accelerator with the appropriate proxy settings. Make changes in the global.properties.xml file, located in $SYBASE/UnwiredAccelerator70/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.
Using Unwired Accelerator behind a proxy server
Navigate to $SYBASE/UnwiredAccelerator70/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 that should bypass the proxy server. You must 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"/
Copyright © 2005. Sybase Inc. All rights reserved. |
![]() |