Hi,
I'm trying to get my apache server (Apache/2.0.55 (Ubuntu) PHP/5.1.2) to serve .wml files. When I type in the url the browser (both FF & IE) says it's an unknown file type and asks if I want to download the file.
After a bit of research I came across this advice:
So I grep'd my mime.types files and all the lines mentioned above were already present:
The test.wml file is also definately present on the server in the correct directory:
Any help on solving this would be very appreciated.
Thanks.
Matt.
I'm trying to get my apache server (Apache/2.0.55 (Ubuntu) PHP/5.1.2) to serve .wml files. When I type in the url the browser (both FF & IE) says it's an unknown file type and asks if I want to download the file.
After a bit of research I came across this advice:
Code:
Add these lines to the mime.types in the conf directory and your Apache will serve WAP type files as well:
text/vnd.wap.wml .wml
application/vnd.wap.wmlc .wmlc
text/vnd.wap.wmlscript .wmls
application/vnd.wap.wmlscriptc .wmlsc
image/vnd.wap.wbmp .wbmp
So I grep'd my mime.types files and all the lines mentioned above were already present:
Code:
root@aslett:/etc# grep vnd.wap mime.types
application/vnd.wap.sic
application/vnd.wap.slc
application/vnd.wap.wbxml wbxml
[b]application/vnd.wap.wmlc wmlc[/b]
[b]application/vnd.wap.wmlscriptc wmlsc[/b]
[b]image/vnd.wap.wbmp wbmp[/b]
text/vnd.wap.si
text/vnd.wap.sl
[b]text/vnd.wap.wml wml[/b]
[b]text/vnd.wap.wmlscript wmls[/b]
The test.wml file is also definately present on the server in the correct directory:
Code:
root@aslett:/var/[URL unfurl="true"]www/soduku#[/URL] ls
head.inc.htm html index.php solved.php test.wml
Any help on solving this would be very appreciated.
Thanks.
Matt.