Nokia WAP and SMS gateway Network Card User Manual


 
Chapter 4. Setting up a WAP gateway
Variable Value Description
map-url URL-pair
The pair is separated with space.
Adds a single mapping for the
left side URL to the given
destination. If you append an
asterisk ‘*’ to the left side URL,
its prefix Is matched against the
incoming URL. Whenever the
prefix matches, the URL will be
replaced completely by the right
side. In addition, if if you append
an asterisk to the right side URL,
the part of the incoming URL
coming after the prefix, will be
appended to the right side URL.
Thus, for a line: map-url =
"http://source/*
http://destination/*" and an
incoming URL of
"http://source/some/path", the
result will be
"http://destination/some/path"
map-url-max number
If you need more than one
mapping, set this to the highest
number mapping you need. The
default gives you 10 mappings,
numbered from 0 to 9. Default: 9
map-url-0 URL-pair
Adds a mapping for the left side
URL to the given destination
URL. Repeat these lines, with 0
replaced by a number up to
map-url-max, if you need several
mappings.
device-home URL
Adds a mapping for the URL
DEVICE:home (as sent by
Phone.com browsers) to the
given destination URL. There is
no default mapping. NOTE: the
mapping is added with both
asterisks, as described above for
the "map-url" setting. Thus, the
above example line is equivalent
to writing map-url =
"DEVICE:home*
http://some.where/*"
26