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

On Wed, 10 May 2000, Bri Carey wrote:

> Date: Wed, 10 May 2000 05:26:52 PDT
> From: Bri Carey <[EMAIL PROTECTED]>
> To: [EMAIL PROTECTED]
> Subject: Source Code Shows Up in IE But Not Netscape
> 
> I realize that this is not an ePerl forum, but since ePerl runs as part of 
> mod_perl, I thought it couldn't hurt to at least ask here.
> 
> I must be missing something obvious.
> 
> I've installed Apache::ePerl.
> 
> I've configured httpd.conf according to the instructions:
> 
> <Files ~ "/usr/local/apache/htdocs/.+\.iphtml$">
> Options +ExecCGI
> SetHandler perl-script
> PerlHandler Apache::ePerl
> </Files>
> 
> When I display an .iphtml page in Netscape, everything seems to be fine.
> 
> When I display it in IE (4.72), I get a plain text output of the source
> code, including html tags.
> 
> Why this discrepancy?

IE quite brilliantly ignores the MIME type specified in the header
in some cases... If you send IE a Content-Type: text/plain 
document that happens to begin with <HTML> then it will render it
as HTML... This sounds like a related problem, but with the opposite effect:
that is to say, it's now NOT rendering when it should be.

- --
"The Funk, the whole Funk, and nothing but the Funk."
Billy Donahue <mailto:[EMAIL PROTECTED]>
http://dadadada.net
GnuPG Key ID: 0219745D Billy Donahue <[EMAIL PROTECTED]>
Fingerprint: 869A 2453 36F4 09BA 1D83  1839 FB65 6FA7 0219 745D
-----BEGIN PGP SIGNATURE-----
Version: GnuPG v1.0.1 (GNU/Linux)
Comment: Made with pgp4pine 1.75

iD8DBQE5GVbJ+2VvpwIZdF0RAoLwAJ9zTrqLcTI5RxC3jyA37r5EuCm4xgCggvKY
GJ56MsQ704UE6F1E31fzaYo=
=zfpG
-----END PGP SIGNATURE-----


Reply via email to