httpd-users mailing list archives

Site index · List index
Message view « Date » · « Thread »
Top « Date » · « Thread »
From "Robert Andersson" <>
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...


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

Robert Andersson

The official User-To-User support forum of the Apache HTTP Server Project.
See <URL:> for more info.
To unsubscribe, e-mail:
   "   from the digest:
For additional commands, e-mail:

View raw message