How to enable WML pages in Xampp

Problems with the Linux version of XAMPP, questions, comments, and anything related.

How to enable WML pages in Xampp

Postby choribaquero80 » 17. December 2008 05:40

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
choribaquero80
 
Posts: 1
Joined: 17. December 2008 05:27

Re: How to enable WML pages in Xampp

Postby slimi » 18. December 2008 10:51

User avatar
slimi
 
Posts: 5
Joined: 11. December 2008 00:04
Location: Lincolnshire,UK

Re: How to enable WML pages in Xampp

Postby glitzi85 » 18. December 2008 15:26

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
User avatar
glitzi85
 
Posts: 1920
Joined: 05. March 2004 23:26
Location: Dahoim


Return to XAMPP for Linux

Who is online

Users browsing this forum: No registered users and 6 guests