2013-07-09 1 views
0

내 서버가 wamp 2.0 (Apache 2.2.11)이고 WML 페이지를 실행하려고하는데 에뮬레이터가 다운로드 대화 상자를 표시 할 때마다.WML 페이지를 실행하도록 Wamp 서버 구성

나는 아래와 같은 WML MIME 유형을 추가하려고하고 서버를 다시 시작한 :

text/vnd.wap.wml wml 
text/vnd.wap.wmlscript wmls 
image/vnd.wap.wbmp wbmp 

는데 아무런 동작도하지 않습니다. 그것이 작동하지 않는

header("Content-type: text/vnd.wap.wml; charset=ISO-8859-1"); 

: 도 나는 WML로는 PHP 페이지에서 헤더를 변경했습니다.

어떤 제안 바랍니다.

답변

0

컴퓨터에 Apache 웹 서버가 설치되어 있다고 가정합니다. 이제 Apache 웹 서버에서 WAP 기능을 사용하는 방법을 알려 드리겠습니다.

그래서/etc/httpd/conf 내에 일반적으로 아파치의 httpd.conf 파일을 찾아 서버 파일에 다음 줄을 추가하고 다시 시작

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

http://www.tutorialspoint.com/wml/wml_quick_guide.htm