The web-proxy rewrite-activex command adds an ActiveX parameter rewriting rule for web proxy.
The undo web-proxy rewrite-activex command deletes an ActiveX parameter rewriting rule for web proxy.
web-proxy rewrite-activex classid classid parameter parameter-name
undo web-proxy rewrite-activex classid classid parameter parameter-name
| Parameter | Description | Value |
|---|---|---|
| classid classid | Specifies the class ID of the ActiveX control. A class ID uniquely identifies an ActiveX control. | The value is a string of 36 case-sensitive characters. |
| parameter parameter-name | Specifies the parameter to be rewritten in the Active X control. | The value is a string of 1 to 30 case-sensitive characters. |
After a rule is added, the virtual gateway rewrites the specified parameter in the matching ActiveX. This rewriting secures the access to web proxy resources from the extranet.
# Add an ActiveX rewriting rule to virtual gateway gateway to rewrite the value of parameter host for the ActiveX control with the class ID being F4AFA705-4FCC-4DC0-82CB-5FCDCD7C9886.
<sysname> system-view [sysname] v-gateway gateway [sysname-gateway] service [sysname-gateway-service] web-proxy rewrite-activex classid F4AFA705-4FCC-4DC0-82CB-5FCDCD7C9886 parameter host