Koozali.org: home of the SME Server

Wap in e-smith? Help!

Bernhard

Wap in e-smith? Help!
« on: April 30, 2001, 04:54:12 PM »
I am desperate!

I would like to run wap in one of my ibays.
I have tried to put in the following lines in "mime.types"
What I have done is first copy the directory "etc/e-smith/templates/etc/mime.types" to
the directory /etc/e-smith/templates-custom/etc.
Then edit in the following rows:

text/wml                 wml
application/wmlc         wmlc
text/wmlscript           wmls
application/wmlscript    wmlsc
image/wbmp               wbmp

After that I have run:
/sbin/e-smith/expand-template /etc/mime.types


When I try to run a simple textbased index.wml the only thing happend in my mobilephone is a message saying that "this is a HTML-file and is not intended for your wap-browser.

What am I doing wrong? please somebody help me!

Mattias Zhabinskiy

Re: Wap in e-smith? Help!
« Reply #1 on: May 01, 2001, 11:42:03 AM »
Hello Bernhard,

I'm successfully using wap on my apache server, which runs not on
e-smith, but RedHat box, but it should not matter. I did not
change mime.types files, instead I added following lines to httpd.conf file:

AddType text/vnd.wap.wml .wml
AddType text/vnd.wap.wmlscript .wmls
AddType image/vnd.wap.wbmp .wbmp
AddType application/vnd.wap.wmlc .wmlc
AddType application/vnd.wap.wmlscriptc .wmlsc

Also, I added index.wml to DirectoryIndex directive:

DirectoryIndex index.html index.shtml index.wml

Hope it will help,
Mattias

Phillip Routley

Re: Wap in e-smith? Help!
« Reply #2 on: May 03, 2001, 04:31:11 PM »
Mattias Zhabinskiy wrote:
>
> Hello Bernhard,
>
> I'm successfully using wap on my apache server, which runs
> not on
> e-smith, but RedHat box, but it should not matter. I did not
> change mime.types files, instead I added following lines to
> httpd.conf file:
>
> AddType text/vnd.wap.wml .wml
> AddType text/vnd.wap.wmlscript .wmls
> AddType image/vnd.wap.wbmp .wbmp
> AddType application/vnd.wap.wmlc .wmlc
> AddType application/vnd.wap.wmlscriptc .wmlsc
>
> Also, I added index.wml to DirectoryIndex directive:
>
> DirectoryIndex index.html index.shtml index.wml
>

I'm Sorry to drop in guys, but could you point me to wap software I can install on a linux server.

Phil R
> Hope it will help,
> Mattias