cocoon-users mailing list archives

Site index · List index
Message view « Date » · « Thread »
Top « Date » · « Thread »
Subject HTML & WML from the same site?
Date Thu, 03 Aug 2000 10:58:56 GMT

    I am working on a web site that should serve both HTML and WML pages
from the same URL and document root (I tried virtual named hosts in
Apache, but the requestor does not always send the host name, so I did
not work). Is there a way in Cocoon to make it distinguish between the
kind of requests that are comming in, so that the initial page is sent
either in WML or HTML?

I tried it using the media= attribute, but I do not know what kind of
browsers will be used to look at the site (especially new WAP handies,

Is there a better way to find out what requests come in?

Or should I force the system to send the netscape & microsoft browsers
the HTML version and the WML-page to all other browsers? Is there a
danger that I miss a special configuration, eg of MS IE, and this user
gets sent the WML-Version, which he can not read then?

I run Cocoon 1.74 on apache 1.3.11 and Jserv on a linux box.

Thanks a lot,


View raw message