RE: RE: [CONFIG] make httpd serve .java files as text

[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]

 



> -----Original Message-----
> From: deufrai [mailto:d3ufr4i@xxxxxxxx] 
> > 
> > 
> 
> All right, many thanx, made a backup of mime.types file and 
> modified said
> line as "text/plain     java"
> Works like a charm in fireFox 2, Opera 9 but .... "surprisingly not
> surprisingly" fails in IE7. 
> 
> No clue about how to get it done in IE7, though

First off, congratulations for posting the actual real-world URL, rather
than obfuscating it like so many posters do - it makes checking so much
easier :-)

I tried your link
http://wardsback.dyndns.org/WButils/latest_version/src/org/wardsback/uti
ls/HashUtils.java and the headers look OK. The page renders as plain
formatted text in FF2.0 and IE6. 

Double-check that IE7 really is ignoring the mime-type: clear the cache,
kill the browser and restart - then reload.

IE used to be notorious for disregarding things like mime-types (which,
according to the RFC are supposed to be "authoritative") and using it's
own internal fuzzy-logic (based on extension and patterns in the
content) to decide how to handle resources. However, I had the
impression it was becoming more compliant recently so I'm surprised that
IE7 "doesn't work". There's isn't really anything you can do about it
since you alre already doing the "correct" thing (ie, setting the
mime-type). 

Rgds,
Owen Boyle
Disclaimer: Any disclaimer attached to this message may be ignored. 
> 
> Thanx again for your quick reply.
> -- 
> View this message in context: 
> http://www.nabble.com/-CONFIG--make-httpd-serve-.java-files-as
-text-tf3607404.html#a10080822
> Sent from the Apache HTTP Server - Users mailing list archive 
> at Nabble.com.
> 
> 
> ---------------------------------------------------------------------
> 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@xxxxxxxxxxxxxxxx
>    "   from the digest: users-digest-unsubscribe@xxxxxxxxxxxxxxxx
> For additional commands, e-mail: users-help@xxxxxxxxxxxxxxxx
>
 
 
This message is for the named person's use only. It may contain confidential, proprietary or legally privileged information. No confidentiality or privilege is waived or lost by any mistransmission. If you receive this message in error, please notify the sender urgently and then immediately delete the message and any copies of it from your system. Please also immediately destroy any hardcopies of the message. You must not, directly or indirectly, use, disclose, distribute, print, or copy any part of this message if you are not the intended recipient. The sender's company reserves the right to monitor all e-mail communications through their networks. Any views expressed in this message are those of the individual sender, except where the message states otherwise and the sender is authorised to state them to be the views of the sender's company.

---------------------------------------------------------------------
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@xxxxxxxxxxxxxxxx
   "   from the digest: users-digest-unsubscribe@xxxxxxxxxxxxxxxx
For additional commands, e-mail: users-help@xxxxxxxxxxxxxxxx



[Index of Archives]     [Open SSH Users]     [Linux ACPI]     [Linux Kernel]     [Linux Laptop]     [Kernel Newbies]     [Security]     [Netfilter]     [Bugtraq]     [Squid]     [Yosemite News]     [MIPS Linux]     [ARM Linux]     [Linux Security]     [Linux RAID]     [Samba]     [Video 4 Linux]     [Device Mapper]

  Powered by Linux