You are viewing a plain text version of this content. The canonical link for it is here.
Posted to users@httpd.apache.org by Mike Loiterman <mi...@ascendency.net> on 2003/10/27 15:42:41 UTC

[users@httpd] Setup apache for .mht files

 
-----BEGIN PGP SIGNED MESSAGE-----
Hash: SHA1

How can I setup apache to correctly display .mht files?

- ------------------------------
Mike Loiterman
grantADLER
Tel: 630-302-4944
Fax: 773-868-0071
Email: mike@ascendency.net
PGP Key 0xD1B9D18E

-----BEGIN PGP SIGNATURE-----
Version: PGP 8.0.3
Comment: Digitally signed by Mike Loiterman

iQA/AwUBP50u4GjZbUnRudGOEQIQGACgmMHcu2Twl9Fc/Sgyr/gm+6CmhxIAnR6n
awjARdLlKW1DWWC34dpXdIST
=MuYJ
-----END PGP SIGNATURE-----


---------------------------------------------------------------------
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


Re: [users@httpd] Setup apache for .mht files

Posted by Robert Andersson <ro...@profundis.nu>.
Mike Loiterman wrote:
> An .mht file is some bastard Microsoft file format.  Its like an
> archive all the parts of a webpage -- graphics, html, etc.
>
> I can get the page to display, but it just displays the text rather
> then the html file embedded within

Standard procedure is to map the extension with the MIME type. You typically
do this by using AddType, see:
http://httpd.apache.org/docs-2.0/mod/mod_mime.html#addtype

I cannot find what MIME type .mht file should have. Something with
multipart, I think, after a little googling.

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


RE: [users@httpd] Setup apache for .mht files

Posted by Mike Loiterman <mi...@ascendency.net>.
 
-----BEGIN PGP SIGNED MESSAGE-----
Hash: SHA1

Leif W <ma...@usa.net> wrote:
>> How can I setup apache to correctly display .mht files?
> 
> What's an mht file, and how is it supposed to be displayed,
> versus how is it
> currently being displayed (or handled, I assume it's downloading or
> something?).  Try fiddling with conf/mime.types and add your
> mime type and
> extension(s).

An .mht file is some bastard Microsoft file format.  Its like an
archive all the parts of a webpage -- graphics, html, etc.

I can get the page to display, but it just displays the text rather
then the html file embedded within 

- ------------------------------
Mike Loiterman
grantADLER
Tel: 630-302-4944
Fax: 773-868-0071
Email: mike@ascendency.net
PGP Key 0xD1B9D18E

-----BEGIN PGP SIGNATURE-----
Version: PGP 8.0.3
Comment: Digitally signed by Mike Loiterman

iQA/AwUBP53NMWjZbUnRudGOEQKRZwCgn+PU61asO9XHq9E34vvXmWMxm98An0JL
Ib07/6vtMIxrmqe7KBbQ4imB
=EYmO
-----END PGP SIGNATURE-----


---------------------------------------------------------------------
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


Re: [users@httpd] Setup apache for .mht files

Posted by Leif W <wa...@usa.net>.
----- Original Message ----- 
From: "Mike Loiterman" <mi...@ascendency.net>
To: <us...@httpd.apache.org>
Sent: Monday, October 27, 2003 9:42 AM
Subject: [users@httpd] Setup apache for .mht files


>
> -----BEGIN PGP SIGNED MESSAGE-----
> Hash: SHA1
>
> How can I setup apache to correctly display .mht files?

What's an mht file, and how is it supposed to be displayed, versus how is it
currently being displayed (or handled, I assume it's downloading or
something?).  Try fiddling with conf/mime.types and add your mime type and
extension(s).

Leif

> - ------------------------------
> Mike Loiterman
> grantADLER
> Tel: 630-302-4944
> Fax: 773-868-0071
> Email: mike@ascendency.net
> PGP Key 0xD1B9D18E
>
> -----BEGIN PGP SIGNATURE-----
> Version: PGP 8.0.3
> Comment: Digitally signed by Mike Loiterman
>
> iQA/AwUBP50u4GjZbUnRudGOEQIQGACgmMHcu2Twl9Fc/Sgyr/gm+6CmhxIAnR6n
> awjARdLlKW1DWWC34dpXdIST
> =MuYJ
> -----END PGP SIGNATURE-----
>
>
> ---------------------------------------------------------------------
> 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
>
>
>



---------------------------------------------------------------------
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