iTP Secure WebServer System Administrator's Guide (Version 7.0)
Configuration Directives
iTP Secure WebServer System Administrator’s Guide—523346-012
A-66
Anonymous Ticket Attributes
-RewriteHostAlias "alias-name alias-name ..."
The RewriteHostAlias attribute enables you to specify alias names for the iTP
Secure WebServer. Aliases are useful for some organizations where the Domain
Name Server (DNS) permits abbreviations of the host name.
For example, the host name www.universal.com might be abbreviated as
universal.com or just universal. To support both these variations, enter the
directive:
SI_Default -RewriteHostAlias \
"http://www.universal.com \
http://universal.com \
http://universal"
This example directs the iTP Secure WebServer to rewrite all references to
www.universal.com, universal.com, or universal to be references to the
iTP Secure WebServer.
Setting this attribute is important when making references relative is enabled,
because the iTP Secure WebServer makes relative only those references that
point to itself. Another way of looking at this directive is that it specifies a list of
hosts whose references should be made relative.
There is no default.
To use -RewriteHostAlias in an SI_Department Region command:
SI_Department 4567 -RewriteHostAlias \
"http://www.universal.com http://universal"
-RewriteHtmlLinks { Relative | Off }
The RewriteHtmlLinks attribute controls whether the content server:
•
Converts absolute HTML references into relative references
•
Performs no conversion on HTML references
For more information, see Rewriting HTML References on page 11-13.
This default applies:
-RewriteHtmlLinks Relative
To use -RewriteHtmlLinks in an SI_Department Region command:
SI_Department 5 -RewriteHtmlLinks Off
-RewriteImageLinks { Absolute | Relative | Off }
The RewriteImageLinks attribute controls whether the content server:
•
Converts absolute image references into relative references
•
Converts relative image references into absolute references