Page 1 of 1

How to enable WML pages in Xampp

PostPosted: 17. December 2008 05:40
by choribaquero80
Hi all,

I hope anyone can help me with these... I have a class project in witch I have to build a small system using LAMPP basically.
A big part of the project is to make the same functionality for a cellphone, using WAP -> WML.

I'v read a lot about this but they are really old post and could not find the solution there... Any ideas?..

My htpd.conf looks like these.
...
DirectoryIndex index.html index.html.var index.php index.php3 index.php4 index.wml
...
<IfModule ssl_module>
# XAMPP
<IfDefine SSL>
AddType text/vnd.wap.wml .wml
AddType application/vnd.wap.wmlc .wmlc
AddType text/vnd.wap.wmlscript .wmls
AddType application/vnd.wap.wmlscriptc .wmlsc
AddType image/vnd.wap.wbmp .wbmp
</IfDefine>
</IfModule>
...

Now I don't know if the second part is in the correct place.

Any help will be more than appreciated.
THANKS

Re: How to enable WML pages in Xampp

PostPosted: 18. December 2008 10:51
by slimi

Re: How to enable WML pages in Xampp

PostPosted: 18. December 2008 15:26
by glitzi85
If you want to provide WML only via SSL (=HTTPS), then your Code would be correct. Otherwise you should put your Code inside this Block:

Code: Select all
<IfModule mime_module>

   #XAMPP Stuff

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


glitzi