Tags:
create new tag
view all tags

Question

Any attachments which are zip or tgz files are repacked and molested so I cannot even find out how to unpack them again.

I can understand that people keep on complaining that files uploaded are wrong. But there is nothing wrong with the uploaded files.

It is TWiki that destroys them when you download using viewfile. And it is mainly on twiki.org that this happens.

Will the admins on twiki.org please disable all compression of anything served by viewfile?

Raised as support question to that others can see that it is a current problem.

The workround is to use the direct URL to the pub directory instead of clicking on the attachments in the table below.

Environment

TWiki version: TWikiRelease04x00x04
TWiki plugins: DefaultPlugin, EmptyPlugin, InterwikiPlugin
Server OS:  
Web server:  
Perl version:  
Client OS:  
Web Browser:  
Categories: Fatal error

-- KennethLavrsen - 31 Jul 2006

Answer

ALERT! If you answer a question - or someone answered one of your questions - please remember to edit the page and set the status to answered. The status selector is below the edit box.

ok - I added viewfile to TWiki.org's don't deflate

    SetOutputFilter DEFLATE

    SetEnvIfNoCase Request_URI \.(?:gif|jpe?g|png|zip|tgz)$ no-gzip dont-vary
    SetEnvIfNoCase Request_URI viewfile no-gzip dont-vary

has that resolved it? (cos turning off deflation reduced the number of requests we serve by over 10%)

-- SvenDowideit - 31 Jul 2006

It resolved it 75%. Now I can download both zip and tgz with Firefox. And I can download the zip file with IE. But the tgz file still becomes garbage with IE when using the viewfile link. The direct pub link works on both IE and and FF for both tgz and zip.

-- KennethLavrsen - 01 Aug 2006

Closing this as there are no more reports.

-- PeterThoeny - 24 Dec 2006

Edit | Attach | Watch | Print version | History: r5 < r4 < r3 < r2 < r1 | Backlinks | Raw View | Raw edit | More topic actions
Topic revision: r5 - 2006-12-24 - PeterThoeny
 
  • Learn about TWiki  
  • Download TWiki
This site is powered by the TWiki collaboration platform Powered by Perl Hosted by OICcam.com Ideas, requests, problems regarding TWiki? Send feedback. Ask community in the support forum.
Copyright © 1999-2026 by the contributing authors. All material on this collaboration platform is the property of the contributing authors.