Please whitelist cPanel in your adblocker so that you’re able to see our version release promotions, thanks!

The Community Forums

Interact with an entire community of cPanel & WHM users!

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:
    156
    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:
    166
    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.
     
    Stop hovering to collapse... Click to collapse... Hover to expand... Click to expand...
  3. MrNone

    MrNone Active Member

    Joined:
    Sep 25, 2004
    Messages:
    38
    Likes Received:
    0
    Trophy Points:
    156
    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:
    166
    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.
     
    Stop hovering to collapse... Click to collapse... Hover to expand... Click to expand...
Loading...

Share This Page

  1. This site uses cookies to help personalise content, tailor your experience and to keep you logged in if you register.
    By continuing to use this site, you are consenting to our use of cookies.
    Dismiss Notice