An Additional Dns Name Without A Scheme Is Not Rewritten; Rewriting A Url - Novell ACCESS MANAGER 3.1 SP2 - ACCESS GATEWAY GUIDE 2010 Manual

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

Advertisement

2 Do one of the following:
If the Web server sends a different content type for a non-default file extension, then
configure the new content type in the Content-Type Header.
If the Web Server does not send any content type for a non-default extension, then
configure
extension/<file_extension>
the data sent is
Content-Type Header as
7.5.6 An Additional DNS Name without a Scheme Is Not
Rewritten
The rewriter rewrites URLs based on the port configured for Connect Port, when a domain name
without scheme is added to the additional URL list. For example, if the connect port is configured as
80, the rewriter rewrites only HTTP URLs and not HTTPS URLs.
To work around this problem,
1 In the Administration Console, click Devices > Access Gateways > Edit > [Name of Reverse
Proxy] > [Name of Proxy Service] > HTML Rewriting.
2 Add the additional DNS name with the scheme in the Additional DNS Names List in the
following format:
scheme://DNS_name
For example:
https://example.com

7.5.7 Rewriting a URL

Set the log level to LOG_DEBUG to view rewriter log messages in the
file. (See
"Configuring Log Levels" on page
For example, if the rewriter successfully rewrites the URL, the following messages are displayed:
Aug 16 04:16:51 proxy140 LINUX_AG:REWRITER:0:URL:'http://
www.mynovell.com:9090/common/inc/nav/main.js' Content type match, Will Rewrite
Aug 16 04:16:51 proxy140 LINUX_AG:REWRITER:0:URL:'http://
www.mynovell.com:9090/common/inc/nav/main.js' Unknown Content-Type - automatic
match - Will Rewrite
Aug 16 04:16:51 proxy140 LINUX_AG:REWRITER:0::'http://www.mynovell.com:9090/
common/inc/nav/main.js' NULL Content-Type - automatic match - Will Rewrite
Aug 16 04:16:51 proxy140 LINUX_AG:REWRITER:0:In
RewriterOption::shouldRewriteUrl, returning TRUE.
Aug 16 04:16:51 proxy140 LINUX_AG:REWRITER:0:URL:'http://
www.mynovell.com:9090/common/inc/nav/main.js' Unknown extension - automatic
match - Will Rewrite
Aug 16 04:16:51 proxy140 LINUX_AG:REWRITER:0:URL:'http://
www.mynovell.com:9090/common/inc/nav/main.js' NULL extension - automatic match
- Will Rewrite
Aug 16 04:16:51 proxy140 LINUX_AG:REWRITER:0:URL:'http://
www.mynovell.com:9090/common/inc/nav/main.js' Extension type match - Will
Rewrite
If the conditions for rewriting a URL fail, the following messages are displayed:
http://www.myproxy.com/test.mytxt
extension/mytxt
123.)
as the Content-Type Header. For example, if
, then you must configure the
.
/var/log/ics_dyn.log
Troubleshooting the Access Gateway Appliance 225

Advertisement

Table of Contents
loading

Table of Contents