The web-proxy rewrite-rule command adds a customized rewriting rule for web proxy.
The undo web-proxy rewrite-rule command deletes a customized rewriting rule for web proxy.
web-proxy rewrite-rule [ object object-name ] property property-name
undo web-proxy rewrite-rule [ object object-name ] property property-name
| Parameter | Description | Value |
|---|---|---|
| object object-name | Specifies the name of the HTML object to be rewritten. | The value is a string of 1 to 31 case-sensitive characters. |
| property property-name | Specifies an HTML property to be rewritten. | The value is a string of 1 to 31 case-sensitive characters. |
After a rule is added, the virtual gateway rewrites the value of a specified property in a specified HTML object. For example, if you run the web-proxy rewrite-rule object area property href command for the following HTML codes, the virtual gateway rewrites www.example.com.
<area shape="rect" coords="667,3,754,22" href="www.example.com">