There are three methods you can use to disable the internal rewriter:
By default, the rewriter is enabled for all proxy services. The rewriter can slow performance because of the parsing overhead. In some cases, a website might not have content with URL references that need to be rewritten. The rewriter can be disabled on the proxy service that protects that website.
Click Devices > Access Gateways > Edit > [Name of Reverse Proxy] > [Name of Proxy Service] > HTML Rewriting.
Deselect the Enable HTML Rewriting option, then click OK.
To apply your changes, click the Access Gateways link, then click Update > OK.
Select Access Gateway, then click Actions > Purge All Cache > OK.
You can specify a list of URLs to be excluded from being rewritten for the selected proxy service.
Click Devices > Access Gateways > Edit > [Name of Reverse Proxy] > [Name of Proxy Service] > HTML Rewriting.
Click the name of the Word profile defined for this proxy service.
If you have not defined a custom Word profile for the proxy service, you might want to create one. If you modify the default profile, those changes are applied to all proxy services.
In the And Requested URL Is Not section, click New, then specify the names of the URLs you do not want rewritten.
Specify each URL on a separate line.
Click OK twice.
In the HTML Rewriter Profile List, make sure the profile you have modified is enabled and at the top of the list, then click OK.
To apply your changes, click the Access Gateways link, then click Update > OK.
Select Access Gateway, then click Actions > Purge All Cache > OK.
There are cases when the URLs in only part of a page or in some of the JavaScript or form can be rewritten and the rest must not be rewritten. When this is the case, you might need to modify the content on the web server. Although this deviates from the design behind Access Manager, you might encounter circumstances where it cannot be avoided.
You can add the following types of tags to the pages on the web server:
These tags are seen by browsers as a comment mark, and do not show up on the screen (except possibly on older browser versions).
NOTE:If the pages you modify are cached on Access Gateway, purge the cache before the changes become effective. Click Access Gateways > select the name of the server > Actions > Purge All Cache.
Page Tags: If you want only portions of a page rewritten, you can add the following tags to the page.
<!--NOVELL_REWRITER_OFF--> . . HTML data not to be rewritten . . <!--NOVELL_REWRITER_ON-->
The last tag is optional, and if omitted, it prevents the rest of the page from being rewritten after the <!--NOVELL_REWRITER_OFF--> tag is encountered.
Param Tags: Sometimes the JavaScript on the page contains <param> elements that contain a value attribute with a URL. You can enable global rewriting of this attribute by adding value to the list of variable and attribute names to search for. If you need more control because some URLs need to be rewritten but others cannot be rewritten, you can turn on and turn off the value rewriting by adding the following tags before and after the <param> element in the JavaScript.
<!--NOVELL_REWRITE_ATTRIBUTE_ON='value'--> . . <param> elements to be rewritten . . <!--NOVELL_REWRITE_ATTRIBUTE_OFF='value'--> . . <param> elements that shouldn't be rewritten
Form Tags: Some applications have forms in which the <input>, <button>, and <option> elements contain a value attribute with a URL. You can enable global rewriting of these attributes by adding formvalue to the list of variable and attribute names to search for. If you need more control because some URLs need to be rewritten but others cannot be rewritten, you can turn on and turn off the formvalue rewriting by adding the following tags before and after the <input>, <button>, and <option> elements in the form.
<!--NOVELL_REWRITE_ATTRIBUTE_ON='formvalue'--> . . <input>, <button>, and <option> elements to be rewritten . . <!--NOVELL_REWRITE_ATTRIBUTE_OFF='formvalue'--> . . <input>, <button>, and <option> elements that shouldn't be rewritten