|
|
|||||||||
|
|||||||||
| |||||||||
|
|
|
| |||||||||
![]() |
|
|
«
Previous Thread
|
Next Thread
»
|
Thread Tools | Search this Thread | Rate Thread | Display Modes |
|
|
|
Get inside! Sample the range of functionality easily built with JMSL Library for Time Series Data Analysis, Heat Maps, Portfolio Optimization, Monte Carlo Simulation, Stock Price Charting and more. Download Now! |
|
#1
|
|||
|
|||
|
Dear Guys,
Recently I want to migrate my wap site from wml base to xhtml base. But I am still finding difficulties to display even simple xhtml from my server. Are there something that I have to change in my apache configuration to display wap using xhtml.. Please help me guys, and below my simple xhtml script with name test.html. Code:
<!DOCTYPE html PUBLIC "-//W3C//DTD XHTML 1.0 Strict//EN" "http://www.w3.org/TR/xhtml1/DTD/xhtml1-strict.dtd"> <html> <head> <title>simple document</title> </head> <body> <p>a very simple paragraph</p> </body> </html> I would be very grateful and appreciate for any replies responding to this case. Thx. Regards, Utsboy, |
|
#2
|
||||
|
||||
|
What are you trying to view with, a phone?
Does the device support that flavor of xhtml? Are you using any server-side technologies to play with the content? You could try the following and see if it works: Code:
<?xml version="1.0" encoding="iso-8859-1"?> <!DOCTYPE html PUBLIC "-//WAPFORUM//DTD XHTML Mobile 1.0//EN" "http://www.wapforum.org/DTD/xhtml-mobile10.dtd"> <html xmlns="http://www.w3.org/1999/xhtml" xml:lang="en"> <head> <meta name="language" content="en" /> <meta http-equiv="content-language" content="en" /> <meta http-equiv="content-type" content="application/xhtml+xml; charset=iso-8859-1" /> <title>simple document</title> </head> <body> <p>a very simple paragraph</p> </body> </html> You shouldn't have to do anything to Apache to serve this, unless you want say PHP to parse html files. This is useful as you can then force content-type etc... Let us know how you get on.
__________________
Cheers, Jamie # skiFFie | Home of the 'accessibility module' for Drupal # Jamie Burns [me] Accessibility Module [drupal] # guidelines | search | wap resources | not getting help | fold to cure # Any form of employment is strictly prohibited ...... __________________ Let the might of your compassion arise to bring a quick end to the flowing stream of the blood and tears ..... Please hear my anguished words of truth. __________________ |
|
#3
|
|||
|
|||
|
Dear Guys,
Thx for the fast response. I use a cell phone to view it like Nokia 3120 and a few others phone which had xhtml enable to see it. And I have already try your script but I still can not see any appearances using it. Was that something that I missed...?? Another question is, can I also see xhtml from wap browser like winwap or openwave sdk...?? Regards, Utsboy Quote:
|
![]() |
| Viewing: Dev Shed Forums > Programming Languages - More > WAP Programming > Apache configuration for XHTML... |
| Thread Tools | Search this Thread |
| Display Modes | Rate This Thread |
|
|
|
|