Ryan wrote: > Just send the correct content type headers. Rudy Rockstar wrote: > You have to configure your web server to set the correct content type.
It seems my Apache 'AddType' configuration directive was in the wrong place. Moving it from httpd.conf to the VirtualHost configuration file seems to work: 2009-07-02 01:15:13 r...@vmdebian500 ~ # cat /etc/apache2/httpd.conf PerlModule HTML::Mason::ApacheHandler 2009-07-02 01:16:17 r...@vmdebian500 ~ # cat /etc/apache2/sites-enabled/001-mason <VirtualHost *:80> ServerName mason.holgerdanske.com DocumentRoot /home/dpchrist/mason-book AddType text/html mhtml <Location /> SetHandler perl-script PerlHandler HTML::Mason::ApacheHandler </Location> </VirtualHost> 2009-07-02 01:17:01 r...@vmdebian500 ~ # wget -S http://mason.holgerdanske.com/hello.mhtml --2009-07-02 01:17:06-- http://mason.holgerdanske.com/hello.mhtml Resolving mason.holgerdanske.com... 192.168.0.50 Connecting to mason.holgerdanske.com|192.168.0.50|:80... connected. HTTP request sent, awaiting response... HTTP/1.1 200 OK Date: Thu, 02 Jul 2009 05:17:06 GMT Server: Apache/2.2.9 (Debian) mod_perl/2.0.4 Perl/v5.10.0 Vary: Accept-Encoding Connection: close Content-Type: text/html Length: unspecified [text/html] Saving to: `hello.mhtml.3' [ <=> ] 52 --.-K/s in 0s 2009-07-02 01:17:06 (3.33 MB/s) - `hello.mhtml.3' saved [52] And, IE displays the page as expected. :-) Thanks! David ------------------------------------------------------------------------------ _______________________________________________ Mason-users mailing list Mason-users@lists.sourceforge.net https://lists.sourceforge.net/lists/listinfo/mason-users