AW: [opencms-dev] Files with extension "rar"

maria.freixes_graells at alcatel.es maria.freixes_graells at alcatel.es
Mon Aug 7 12:05:40 CEST 2006


Thanks Kai,
But it doesn't work!! I've tried "x-rar-compressed" "octet-stream" 
"x-rar", nothing.......
Each time I've restart tomcat, but the file continues showing bad 
characters.....
Another idea?

Kai Schliemann wrote:
> Hi Maria,
>
> you have to define a mime type in your web.xml fitting for .rar files (try: application/x-rar-compressed; if that doesn't work try application/octet-stream)
>
> example:
> ###############
>     <mime-mapping>
>         <extension>rar</extension>
>         <mime-type>application/x-rar-compressed</mime-type>
>     </mime-mapping>
> ###############
> Don't forget to restart tomcat.
>
> Regards
> Kai
>
>   
>> -----Ursprüngliche Nachricht-----
>> Von: opencms-dev-bounces at opencms.org
>> [mailto:opencms-dev-bounces at opencms.org]Im Auftrag von
>> maria.freixes_graells at alcatel.es
>> Gesendet: Freitag, 4. August 2006 18:16
>> An: opencms-dev at opencms.org
>> Betreff: [opencms-dev] Files with extension "rar"
>>
>>
>> Hello people!!
>>
>> We've trying with several kind of files, and with one with an extension 
>> .tar is working well, you can open or download it, but if we try with 
>> one that has extension .rar, a window is open with:
>>
>> Rar!ϐs ͙t??B&??K ??U\?43 
>> TestBedP25M20060523111127.log?`r? 
>> ѐ͕QLս??oർۏWzˇ'??Vi!?i+?Y?Ӵ?ݯ^IWg?(??J??ˌ簷ƀa??Ϟ? 
>> ??୻7མ???҄܄Ց4I?וF?ZZ?]??Q?b?bb??5Tk?f"b"b?JZߣ??ɉ?ģS?̣??T??m?h?ս?괞? 
>> ?? ƀ?Ӵ?g?Ƴ??sJ"|?F5?LLJχ?Ć濓?㇊ŎRs|vv7wXߛ??O??6=?[| /Ს?k?y+֩￞ֿ??诵? 
>> WP�?3m?e8맷?????)??W𧪱ܵâקC???6h*⠳򭡋.???_Ꭿ???? 
>> P?R?U?[ˠŚ˒wUĩ֪ġDPԛ㤘M???ŧ I�h?G??vx7?1??γ.69>A晓Ć纒}????? 
>> [???sf?侺4뱦??J?찅Zֺ>??猡J? n>N,"^?c??曘ڛ↙мW̟?h.?ٙ?v?Ԍ?ǎǖƴD? 
>> Ϫ?ώ?;?*ϩ???剽ة?jៃ�
>>
>> Any idea?
>>
>> Many thanks!!!
>>
>>     
>
>
> _______________________________________________
> This mail is sent to you from the opencms-dev mailing list
> To change your list options, or to unsubscribe from the list, please visit
> http://lists.opencms.org/mailman/listinfo/opencms-dev
>   


More information about the opencms-dev mailing list