Configure HTML Rewrite for Sterling B2B Integrator Dashboard
About this task
HTML rewriting allows you to replace the URL links that refer to the Sterling B2B Integrator server in the HTML pages returned by the HTTP server with the links pointing to Secure Proxy. When the user clicks on these links, the HTTP requests come back to Secure Proxy. You must configure HTML rewrite in order for the dashboard application to function correctly.
Certain pages on the dashboard use javascript to create URL dynamically using a back-end host name literal. To change this host name to the proxy host name, you add another entry to the HTML rewrite. Use the fourth entry in the table below as an example.
To configure this environment, use the following table to help you identify the rewrite values to define in the netmap definition:
- Provide a value for each Secure Proxy feature listed. Fields listed in the worksheet are required.
- Accept default values for fields not listed.
- Note the Configuration Manager field where you will specify the value.
Server URL |
Proxy URL |
|---|---|
http(s)://<fully qualified DNS name for the SI_host>:<port> |
http(s)://<fully qualified DNS name for the proxy_host>:<adapter1_port> |
http(s)://<SI_ipaddress>:<port> |
http(s)://<fully qualified DNS name for the proxy_host>:<adapter1_port> |
http(s)://<fully qualified DNS name for the SI_host>: |
http(s)://<fully qualified DNS name for the proxy_host>: |
http(s)://<fully qualified DNS name for the SI_host> |
http(s)://<fully qualified DNS name for the proxy_host> |
<fully qualified DNS name for the SI_host> |
<fully qualified DNS name for the proxy host> |
To configure HTML rewrite:
Procedure
- Click Configuration from the menu bar.
- Expand the netmap definition you created.
- On the HTTP Netmap Nodes panel, click the HTML Rewrite tab.
- Click New.
- Enable the Support HTML Rewrite field.
- Type the URL path for the outbound server in the Server URL field.
- Type the URL path for the proxy in the Proxy URL field.
- Click Save.
- Repeat steps 4 through 8 for all HTML Rewrite options you want to configure.
- To reorder the HTML rewrite definitions:
- Click the radio button beside the URL routing definition to reorder.
- Click Move Up or Move Down until the item is in the correct order.
- Click Save.