Sun Java System Application Server Enterprise Edition 8.2 High Availability Administration Guide

The rewrite-location Property

If set to true, the rewrite-location property rewrites the original request information and includes the protocol (HTTP or HTTPS), host, and port information By default, the rewrite-location property is set to true to maintain backward compatibility with previous Application Server releases.

The rewrite-location property is not available through the asasmin create-http-lb-config or asadmin set commands. To use the property, manually add it to the loadbalancer.xml file after exporting your load balancer configuration. For example, add the following to the exported loadbalancer.xml file:

<property name="rewrite-location" value="false"/>

Set the rewrite-location property with the following points in mind: