The Community Forums

Interact with an entire community of cPanel & WHM users!
  1. This site uses cookies. By continuing to use this site, you are agreeing to our use of cookies. Learn More.

Wap Activation

Discussion in 'General Discussion' started by MrNone, May 31, 2005.

  1. MrNone

    MrNone Active Member

    Joined:
    Sep 25, 2004
    Messages:
    38
    Likes Received:
    0
    Trophy Points:
    6
    Hi

    I have centos+whm server. How can i activate "wap" Where can i do?

    Thanks
     
  2. nickb

    nickb Well-Known Member

    Joined:
    Feb 25, 2005
    Messages:
    347
    Likes Received:
    0
    Trophy Points:
    16
    Location:
    India
    You need to modify apache settings for this....add the following MIME types :>>

    -For file extension .wml, type "text/vnd.wap.wml" (without the quotes).
    -For file extension .wmlc, type "application/vnd.wap.wmlc" (without the quotes).
    -For file extension .wmls, type "text/vnd.wap.wmlscript" (without the quotes).
    -For file extension .wmlsc, type "application/vnd.wap.wmlscriptc" (without the quotes).
    -For file extension .wbmp, type "image/vnd.wap.wbmp" (without the quotes).

    restart apache.
     
  3. MrNone

    MrNone Active Member

    Joined:
    Sep 25, 2004
    Messages:
    38
    Likes Received:
    0
    Trophy Points:
    6
    But already existent this codes on mime.types file :(
     
  4. nickb

    nickb Well-Known Member

    Joined:
    Feb 25, 2005
    Messages:
    347
    Likes Received:
    0
    Trophy Points:
    16
    Location:
    India
    Try by creating a .htaccess file and place above entries in that file..then copy this file to the directories that contain wap files.
     
Loading...

Share This Page