• If you are still using CentOS 7.9, it's time to convert to Alma 8 with the free centos2alma tool by Plesk or Plesk Migrator. Please let us know your experiences or concerns in this thread:
    CentOS2Alma discussion

WAP / WML Service

KrazyBob

Regular Pleskian
I am running Plesk 8.6 (about to upgrade to 9.5) on Linux (Centos) and need WAP/WML service. I have added:

Code:
# Enable WML (Wireless Markup Language)
AddType text/vnd.wap.wml .wml
AddType image/vnd.wap.wbmp .wbmp
AddType application/vnd.wap.wmlc .wmlc
AddType text/vnd.wap.wmlscript .wmls
AddType application/vnd.wap.wmlscriptc .wmlsc
DirectoryIndex index.wml

to the end of httpd.conf but when I call the test file wap.wml, wap.wap or wap.xml I just see the raw code. I have restarted Apache from botht the CLI and from within Plesk. Actually, when testing using my Sprint HCT wap.wap causes an error and the phone says that it cannot display the type.

Code:
  <?xml version="1.0" ?> 
  <!DOCTYPE wml (View Source for full doctype...)> 
- <wml>
- <card id="card1" title="TEST CARD 1" newcontext="false" ordered="true">
- <do type="accept" label="To card 2" optional="false">
  <go href="#card2" sendreferer="false" method="get" /> 
  </do>
  <br /> 
  WAP test! 
  <br /> 
  This is Card 1. 
  <br /> 
  For the 2nd card, 
  <br /> 
  <a href="#card2">click here</a> 
  </card>
- <card id="card2" title="TEST CARD 2" newcontext="false" ordered="true">
- <do type="accept" label="Back to card 1" optional="false">
  <go href="#card1" sendreferer="false" method="get" /> 
  </do>
  <br /> 
  This is the 2nd card 
  <br /> 
  To go back, 
  <br /> 
  <a href="#card1">click here</a> 
  </card>
  </wml>
 

Similar threads

Back
Top