8. Setting up MIME
Types without Administrator Rights
ways described above for setting up MIME types involve changing the
configuration of the WAP / web server, which requires you to have
administrator rights. However, in many situations, you do not have
administrator rights. For example, it is common to host WAP / web
sites on a server managed by a web hosting company.
there are two ways for setting MIME types
when you do not have administrator rights:
Using a .htaccess file (for Apache)
Using a server-side technology
8.1. If the Web / WAP
Server is Apache...
the web / WAP server is Apache, you can place the MIME settings in a
file called .htaccess
using the format below:
example, your .htaccess
file may contain something like this:
addtype application/vnd.wap.wmlc wmlc
addtype application/vnd.wap.wmlscriptc wmlsc
new MIME settings will be applied to the directory that contains the
.htaccess file and all
.htaccess file should be set to world-readable.
administrator may configure the web / WAP server to ignore .htaccess
files. In such cases, the above method will not work.
Feedback Form (ExpandCollapse)