[ic] How to make IC display .wml files

Ryan Hertz rhertz@gyb.baits.com
Thu, 25 Jan 2001 19:37:08 -0700


At 07:26 PM 1/25/01 , Mike Heins wrote:

>You may or may not know you can also do in catalog.cfg:
>
>Autoload   <<EOA
>[if scratch wml]
>[calc] $Config->{HTMLsuffix} = '.wml'; return[/calc]
>[tag op=header]Content-type: text/wml[/tag]
>[/if]
>EOA
>
>What that does is allow you to set up a WML set of pages parallel
>to the HTML ones, with a .wml extenstion. Just [set wml]1[/set]
>when you know it is a WML customer.

Now *THAT* is cool.

Ryan Hertz                                              tel  800-645-BAIT
Webmaster                                               fax  520-645-2588
Advertising Director                            http://yamamoto.baits.com
Gary Yamamoto Custom Baits, Inc.                http://www.insideline.net