Kannel WAP and SMS gateway User Manual page 33

Open source wap and sms gateway
Table of Contents

Advertisement

Variable
map-url
map-url-max
map-url-0
device-home
Value
URL-pair
number
URL-pair
URL
Chapter 4. Setting up a WAP gateway
Description
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"
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
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.
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

Hide quick links:

Advertisement

Table of Contents
loading

This manual is also suitable for:

1.3.1

Table of Contents