[EMAIL PROTECTED] schrieb:
>        It is very time-consuming to add each and every
>        phone model in the cocoon.properties and then
>        restart Apache each time. So I decided to install
>        Kannel which is supposedly a WAP gateway. My plan
>        is to write one line in the cocoon.properties file
> 
>        browser.1 = wap=kannel
> 
>        and then tell all my clients to connect to
>        my site using the Kannel gateway.
> 
>        I tried to add the header X-WAP-Gateway: which
>        I believe kannel appends to any of its request:
>        in cocoon.properties but cocoon did not recognize
>        this header and refused to deliver WAP content
> 
>        browser.1=wap=X-WAP-Gateway
> 
>        Next I tried:
> 
>        browser.1=wap=Kannel/1.0.3 (I have this
>        version installed)

Cocoon 1.8.2 only uses the User-Agent header for mapping clients to
device client classes. As the Kannel doesn't add something to the
client's User-Agent header, you can't recognize the Kannel.
-- 
Johannes Koch  . IT Developer
Pixelpark AG   . http://www.pixelpark.com
Rotherstraße 8 . 10245 Berlin  .  Germany
phone: +49 30 5058 - 1288  .  fax: - 1355

---------------------------------------------------------------------
Please check that your question has not already been answered in the
FAQ before posting. <http://xml.apache.org/cocoon/faqs.html>

To unsubscribe, e-mail: <[EMAIL PROTECTED]>
For additional commands, e-mail: <[EMAIL PROTECTED]>

Reply via email to