httpd-users mailing list archives

Site index · List index
Message view « Date » · « Thread »
Top « Date » · « Thread »
From "Robert Andersson" <rob...@profundis.nu>
Subject Re: [users@httpd] Changing default content-type
Date Wed, 10 Dec 2003 06:37:55 GMT
JM wrote:
> hmm... i think a better question is how do i add a new content-type in
> apache..
> im wish to add text/vnd.wap.wml to wml pages...

See:
    http://httpd.apache.org/docs-2.0/mod/mod_mime.html#addtype

To have all files with a .wml extension served as text/vnd.wap.wml, you
simple add this directive to httpd.conf:

    AddType text/vnd.wap.wml .wml

Regards,
Robert Andersson


---------------------------------------------------------------------
The official User-To-User support forum of the Apache HTTP Server Project.
See <URL:http://httpd.apache.org/userslist.html> for more info.
To unsubscribe, e-mail: users-unsubscribe@httpd.apache.org
   "   from the digest: users-digest-unsubscribe@httpd.apache.org
For additional commands, e-mail: users-help@httpd.apache.org


Mime
View raw message