httpd-users mailing list archives

Site index · List index
Message view « Date » · « Thread »
Top « Date » · « Thread »
From deufrai <d3uf...@yahoo.fr>
Subject [users@httpd] RE: RE: [CONFIG] make httpd serve .java files as text
Date Fri, 20 Apr 2007 06:58:26 GMT



Boyle Owen wrote:
> 
>> -----Original Message-----
>> From: deufrai [mailto:d3ufr4i@yahoo.fr] 
>> > 
>> > 
>> 
>> 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@httpd.apache.org
>>    "   from the digest: users-digest-unsubscribe@httpd.apache.org
>> For additional commands, e-mail: users-help@httpd.apache.org
>>
>  
>  
> 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@httpd.apache.org
>    "   from the digest: users-digest-unsubscribe@httpd.apache.org
> For additional commands, e-mail: users-help@httpd.apache.org
> 
> 
> 

Cleared cache and restarted IE7, still no go. Too bad then.
Sorry for broken link, I revamped site layout.

a working one for convenience :  http://wardsback.dyndns.org/WButils/ here 

Thanx again :)

-- 
deufrai
-- 
View this message in context: http://www.nabble.com/-CONFIG--make-httpd-serve-.java-files-as-text-tf3607404.html#a10092421
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@httpd.apache.org
   "   from the digest: users-digest-unsubscribe@httpd.apache.org
For additional commands, e-mail: users-help@httpd.apache.org


Mime
View raw message