AW: AW: AW: [opencms-dev] Files with extension "rar"
Ruben Malchow
ruben at khm.de
Tue Aug 8 16:46:54 CEST 2006
if it still doesn't work, you may want to try using firefox plugins such
as:
https://addons.mozilla.org/firefox/2526/
or
https://addons.mozilla.org/firefox/575/
to verify your headers are actually being sent the way you think they
are, because it seems it's not a problem of WHAT is being sent, but
rather IF it's being sent. also, last time i checked, internet explorer
had a tendency to think it was cleverer than the header in some situations.
.rm
maria.freixes_graells at alcatel.es schrieb:
> All you say have been tested without success.
> thanks anyway....
>
> Kai Schliemann wrote:
>> Hi Maria,
>>
>> did you tell OpenCMS about the new mime-type, too?
>>
>> To do so, do the following:
>> edit opencms-vfs.xml
>> find...
>> <type
>> class="org.opencms.file.types.CmsResourceTypeBinary" name="binary"
>> id="2">
>> <mappings>
>> <mapping suffix=".pdf" />
>> <mapping suffix=".zip" />
>> <mapping suffix=".class" />
>> <mapping suffix=".ppt" />
>> <mapping suffix=".doc" />
>> <mapping suffix=".xls" />
>> </mappings>
>> </type>
>> ...and add a mapping for .rar. Actually this is just to tell OpenCMS what
>> kind of file you use. But maybe OpenCMS sends the mime-type in the
>> html-header.
>>
>> One more question. Do you have an Apache running which delivers your .rar
>> files? If so, you have to tell Apache about the new file type:
>> edit httpd.conf or .htaccess and add:
>> AddType application/octet-stream .rar
>>
>> HTH
>>
>> 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: Montag, 7. August 2006 14:53
>>> An: The OpenCms mailing list
>>> Betreff: Re: AW: AW: [opencms-dev] Files with extension "rar"
>>>
>>>
>>> Hi Kai,
>>>
>>> I've tried to google and all the options, but it doesn't work, it must
>>> be a bug....
>>> There is no manner to open files with extension rar....
>>> Thanks anyway!!
>>>
>>> Best regards,
>>> Maria
>>>
>>> Kai Schliemann wrote:
>>>
>>>> Hi Maria,
>>>>
>>>> don't know why it doesn't work now. Try to google for a fitting
>>>>
>>> mime-type.
>>>
>>>> One hint: I had to clear my browser cache in order to make it
>>>>
>>> work. So maybe
>>>
>>>> that may help. To be sure do a browser restart too.
>>>>
>>>> Regards
>>>>
>>>> Kai Schliemann
>>>> ________________________________________________________________
>>>>
>>>> Mit einem Klick alles im Blick, dank Informatik
>>>> Partner im Wissenschaftsjahr 2006 – www.Informatikjahr.de
>>>> ________________________________________________________________
>>>>
>>>> Dipl.-Wirt.Ing (FH)
>>>> Kai Schliemann
>>>>
>>>>
>>>> IT-Berater
>>>>
>>>> comundus GmbH
>>>> Schüttelgrabenring 3, 71332 Waiblingen
>>>>
>>>> Telefon +49 (0)71 51-5 00 28-20
>>>> Internet www.comundus.com
>>>>
>>>> IT EXCELLENCE by comundus.
>>>> ________________________________________________________________
>>>>
>>>>
>>>>
>>>>
>>>>
>>>>
>>>>> -----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: Montag, 7. August 2006 12:33
>>>>> An: The OpenCms mailing list
>>>>> Betreff: Re: AW: [opencms-dev] Files with extension "rar"
>>>>>
>>>>>
>>>>> No exit with application/rar.........sniff!
>>>>>
>>>>> Cayetano wrote:
>>>>>
>>>>>
>>>>>>> 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?
>>>>>>>
>>>>>>>
>>>>>>>
>>>>>> how about application/rar??
>>>>>>
>>>>>>
>>>>>>
>>>>> _______________________________________________
>>>>> 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
>>>>>
>>>>>
>>>> _______________________________________________
>>>> 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
>>>>
>>>>
>>
>>
>> _______________________________________________
>> 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
>>
>
> ------------------------------------------------------------------------
>
>
> _______________________________________________
> 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