Hi Ivonne,

I have only just started using Kannel, so at this stage, this is what I
believe to be true.

When establishing a WAP session, some phones do not specify the URL to which
to connect to. In these circumstances, we set the device-home field in
wapkannel.conf to allow Kannel to serve a home page to the phone.

Because I've only just installed my system and still have a few things to
sort out, my device-home is set to :

device-home = "http://10.128.60.114/cgi-bin/index.pl"; which is a perl script
that generates the home page for the device.

The map-url field seems to be a conversion utility. One instance where I can
see this being useful is to enable you to maintain a set of WML and HTML
pages with exactly the same URL's. For example, if you have a site that
gives news and weather on the internet at http://mysite.com/news and
http://mysite.com/weather this will be the URL for HTML browsers. To
maintain familiarity to your site, it would be useful to give exactly the
same URL's to the WAP browsers, but this could not work as Kannel could not
compile the HTML to send to the WAP device. What we can do, though is map
the URL's :
map-url = "http://mysite.com/* http://mysite.com/wml/*"; - this means that
when a WAP device requests http://mysite.com/news, Kannel would request
http://mysite.com/wml/news from the httpd daemon, compile this and send it
to the WAP device. You will, of course need to maintain the HTML and WML
sources independently.

map-url-max allows you to specify the number of map-url fields that you need
to add.


Hope this helps,
Mark


-----Original Message-----
From: Ivone Uribe [mailto:[EMAIL PROTECTED]]
Sent: 14 October 2002 04:01
To: [EMAIL PROTECTED]
Subject: WAP KANNEL Configuration


Hi all!

I'm not clear about map-url, map-url-max and device-home descriptions for 
wapbox configuration.
So, Please could anybody contribute any sample configuration for wapbox.conf

with these points.

I would be grateful of any contribution.

Regards,
Ivonne :)



_________________________________________________________________
�nase al mayor servicio mundial de correo electr�nico: 
http://www.hotmail.com/es


Reply via email to