Return-Path: Delivered-To: apmail-httpd-users-archive@httpd.apache.org Received: (qmail 78778 invoked by uid 500); 9 Jan 2002 13:40:58 -0000 Mailing-List: contact users-help@httpd.apache.org; run by ezmlm Precedence: bulk Reply-To: users@httpd.apache.org list-help: list-unsubscribe: list-post: Delivered-To: mailing list users@httpd.apache.org Received: (qmail 78766 invoked from network); 9 Jan 2002 13:40:57 -0000 Received: from bull.bourse.ch (HELO bull1.bourse.ch) (194.158.1.1) by daedalus.apache.org with SMTP; 9 Jan 2002 13:40:57 -0000 Received: (from nobody@localhost) by bull1.bourse.ch (8.8.8+Sun/8.8.8) id OAA05874 for ; Wed, 9 Jan 2002 14:40:56 +0100 (MET) X-Authentication-Warning: bull1.bourse.ch: nobody set sender to using -f Received: from trifid2(172.20.196.132) by bull1 via smap (V2.1) id xma005827; Wed, 9 Jan 02 14:40:52 +0100 Received: from regulus.bourse.ch (regulus [172.20.196.148]) by trifid2.bourse.ch (8.8.8+Sun/8.8.8) with ESMTP id OAA25470 for ; Wed, 9 Jan 2002 14:40:51 +0100 (MET) Received: from bourse.ch (localhost [127.0.0.1]) by regulus.bourse.ch (8.9.3+Sun/8.9.3) with ESMTP id OAA07036 for ; Wed, 9 Jan 2002 14:40:50 +0100 (MET) Sender: obo@bourse.ch Message-ID: <3C3C4862.581EB672@bourse.ch> Date: Wed, 09 Jan 2002 14:40:50 +0100 From: Owen Boyle X-Mailer: Mozilla 4.76 [en] (X11; U; SunOS 5.8 sun4u) X-Accept-Language: en MIME-Version: 1.0 To: users@httpd.apache.org Subject: Re: Apache and WAP References: <3C3C1756.2D8F6038@notnow.com> Content-Type: text/plain; charset=us-ascii Content-Transfer-Encoding: 7bit X-Spam-Rating: daedalus.apache.org 1.6.2 0/1000/N Chendra Allen wrote: > > Basically I need to know: > > Can Apache serve WML, WMLScript to WAP devices ? > > I'm going to write an application with Apache serving the HTML pages > made with Perl CGI scripts and want to have the application create WML > pages also. > I read in one place that WML etc. are just another MIME type. > I also read that WAP is based on HTTP. > Are these statements true ? > Is there a module for serving WML pages with Apache ? > Has anybody got Apache serving WML ? WML is just another mark-up language. Apache can serve it as easily as it serves HTML files or GIFs or MPG or whatever. The mime-type is needed by the client so it knows what data to expect. To serve WML files you just need to set up a virtual host serving those files - just like another HTML site. It is the client who will process the WML files and display them. E.g. ServerName wap.server.com DocumentRoot /home/wap-stuff/wml For our wap service, we added: # WAP mime-types # -------------- text/vnd.wap.wml wml text/vnd.wap.wmlscript wmls image/vnd.wap.wbmp wbmp application/vnd.wap.wmlc wmlc application/vnd.wap.wmlscriptc wmlsc to mime.types (though you probably only really need the first line). As regards how it works - it is not the WAP client (e.g. mobile phone) which contacts your server directly! Rather, the client contacts a WAP gateway (using wireless application protocol) and the gateway (which is a computer) contacts your server using HTTP. Usually, the WAP gateways are provided by the mobile-phone operators. Rgds, Owen Boyle. --------------------------------------------------------------------- The official User-To-User support forum of the Apache HTTP Server Project. See for more info. To unsubscribe, e-mail: users-unsubscribe@httpd.apache.org For additional commands, e-mail: users-help@httpd.apache.org