Configuring The Html Rewriter And Profile - Novell ACCESS MANAGER 3.1 SP1 - GATEWAY GUIDE Manual

Access gateway guide
Hide thumbs Also See for ACCESS MANAGER 3.1 SP1 - GATEWAY GUIDE:
Table of Contents

Advertisement

To make sure all the paths generated by JavaScript are rewritten, you must search the Web pages of
the application. You can then either list all the JavaScript methods and variables in the Additional
Names to Search for URL Strings to Rewrite with Host Name section of the rewriter profile, or you
can use the $path token in the Additional Strings to Replace section. The $path token reduces the
number of JavaScript methods and variables that you otherwise need to list individually.
To use the $path token, you add a search string and a replace string that uses the token. For example,
if the /prices/pricelist.html page is generated by JavaScript and the multi-homing path for the proxy
service is /inner, you would specify the following stings:
Search String
/prices
This configuration allows the following paths to be rewritten before the Web server sends the
information to the browser.
Web Server String
/prices/pricelist.html
/prices
This token can cause strings that shouldn't be changed to be rewritten. If you enable the Rewrite
Inbound Query String Data, Rewrite Inbound Post Data, and Rewrite Inbound Header actions, the
rewriter checks these strings and ensures that they contain the information the Web server expects.
For example, when these options are enabled, the following paths and domain names are rewritten
when found in query strings, in Post Data, or in the Call-Back, Destination, If, Notification-Type, or
Referer headers.
Rewriting Strings Sent from the Browser to the Web Server
Table 1-1
Browser String
/inner/prices/pricelist.html
/inner/prices
novell.com/inner/prices

1.6.4 Configuring the HTML Rewriter and Profile

You configure the HTML rewriter for a proxy service, and these values are applied to all Web
servers that are protected by this proxy service.
To configure the HTML rewriter:
1 In the Administration Console, click Devices > Access Gateways > Edit > [Name of Reverse
Proxy] > [Name of Proxy Service] > HTML Rewriting.
52
Novell Access Manager 3.1 SP1 Access Gateway Guide
Replacement String
$path/prices
Rewritten String for the Browser
/inner/prices/pricelist.html
/inner/prices
Rewritten String for the Web Server
/prices/pricelist.html
/prices
inner.com/prices

Advertisement

Table of Contents
loading
Need help?

Need help?

Do you have a question about the ACCESS MANAGER 3.1 SP1 - GATEWAY GUIDE and is the answer not in the manual?

Subscribe to Our Youtube Channel

Table of Contents