There's no such thing as a stupid question, but they're the easiest to answer.
JoinTour
Login
Search
Linux and Unix
Tag Cloud
access acer asus batch bios bsod computer crash desktop driver drivers error ethernet excel freeze gaming hard drive hardware hdmi internet laptop lcd malware memory modem monitor motherboard network printer problem ram registry router slow software sound toshiba trojan usb video virus vista wifi windows windows 7 windows 7 32 bit windows 7 64 bit windows xp wireless xbox
Search
Search for:
Tech Support Guy Forums > Operating Systems > Linux and Unix >
Clients can't dowload zips if they have a MAC

Reply  
Thread Tools
PUG's Avatar
PUG PUG is offline
Computer Specs
Member with 101 posts.
 
Join Date: Dec 2002
Location: New Zealand
11-Oct-2007, 05:59 PM #1
Clients can't dowload zips if they have a MAC
Hi,

I have a set of links on a webpage that allows clients to acces our linuxserver and download zipped files.

I have no trouble downloading on PC however the Mac folk around me click the links and nothing happens...?

I moved the files to a different server and it was fine.

Can someone suggest a possible reason for this.

Thanks
Julz
__________________
24" imac
tomdkat's Avatar
Computer Specs
Distinguished Member with 7,127 posts.
 
Join Date: May 2006
Location: S.F. Bay Area, CA
Experience: Intermediate
11-Oct-2007, 08:25 PM #2
Quote:
Originally Posted by PUG
I moved the files to a different server and it was fine.

Can someone suggest a possible reason for this.
The web server on the Linux server might not have had the proper MIME type setup for ZIP files. So, the browser on Mac OS didn't know what to do with the ZIP file when it was downloaded. I would start with comparing the MIME type definitions on the web server that worked and the web server that didn't.

Peace...
PUG's Avatar
PUG PUG is offline
Computer Specs
Member with 101 posts.
 
Join Date: Dec 2002
Location: New Zealand
12-Oct-2007, 08:32 PM #3
Ok Tomdkat makes sense as it's a new inhouse Linux Box running Ubuntu... can you please suggest where I would need to look for MIME def config. The webserver that worked is an offsite host so naturally they will be set up correctly.

Such an amateur.
Gr8ful
tomdkat's Avatar
Computer Specs
Distinguished Member with 7,127 posts.
 
Join Date: May 2006
Location: S.F. Bay Area, CA
Experience: Intermediate
12-Oct-2007, 09:47 PM #4
Look for the Apache "httpd.conf" file. If you're not sure where it is, run this command in a terminal window or remote login to the server:

$ find / -name "httpd.conf"

Read up on the mod_mime Apache module. Here is a sample from my httpd.conf (for Apache 2.2.4 running on my home machine (64-bit Ubuntu)):
Code:
<IfModule mime_module>
    #
    # TypesConfig points to the file containing the list of mappings from
    # filename extension to MIME-type.
    #
    TypesConfig conf/mime.types

    #
    # AddType allows you to add to or override the MIME configuration
    # file specified in TypesConfig for specific file types.
    #
    #AddType application/x-gzip .tgz
    #
    # AddEncoding allows you to have certain browsers uncompress
    # information on the fly. Note: Not all browsers support this.
    #
    #AddEncoding x-compress .Z
    #AddEncoding x-gzip .gz .tgz
    #
    # If the AddEncoding directives above are commented-out, then you
    # probably should define those extensions to indicate media types:
    #
    AddType application/x-compress .Z
    AddType application/x-gzip .gz .tgz
</IfModule>
My "mime.types" file already has a type for ZIP defined as follows:

application/zip zip

Make sure your Apache server is setup accordingly.

Peace...
Reply

THIS THREAD HAS EXPIRED.
Are you having the same problem? We have volunteers ready to answer your question, but first you'll have to join for free. Need help getting started? Check out our Welcome Guide.

Search Tech Support Guy

Find the solution to your
computer problem!




Currently Active Users Viewing This Thread: 1 (0 members and 1 guests)
 
WELCOME TO TECH SUPPORT GUY! Are you looking for the solution to your computer problem? Join our site today to ask your question -- for free! Our site is run completely by volunteers who want to help you solve your computer problems. See our Welcome Guide to get started.
Thread Tools



Facebook Facebook Twitter Twitter TechGuy.tv TechGuy.tv Mobile TSG Mobile
You Are Using:
Server ID
Advertisements do not imply our endorsement of that product or service.
All times are GMT -4. The time now is 08:56 AM.
Copyright © 1996 - 2011 TechGuy, Inc. All rights reserved.

Powered by Cermak Technologies, Inc.