The Community Forums

Interact with an entire community of cPanel & WHM users!
  1. This site uses cookies. By continuing to use this site, you are agreeing to our use of cookies. Learn More.

All images has .bmp extension in every version of Internet Explorer

Discussion in 'General Discussion' started by goyo, Jul 19, 2003.

  1. goyo

    goyo Member

    Joined:
    Jun 17, 2003
    Messages:
    16
    Likes Received:
    0
    Trophy Points:
    1
    cPanel Access Level:
    Root Administrator
    I'm running several servers with the same problem

    In the past I always compiled apache from the source and never had such problem…around 10 days ago I used buildapache.sea and since than I run it with several options on-off still the same problem.

    The problem:
    No matter if the file extension is .gif .jpg or .png Internet Eplorer always saves it as untitled bmp. The same thing happens if it's a PHP or Perl script generated image. It happens with EVERY picture and with all of my clients.

    My server:
    http://www.borda.ca/boardalogo.gif <- problem
    My (other) server:
    http://www.farkin.ca/logo.gif <- problem
    This server:
    http://forums.cpanel.net/images/vBulletin_logo.gif <- NO problem

    Under Internet Explorer (any version) use right click and choose Save Picture as...you'll see the difference.

    It's a huge problem for me as on most of my servers my clients hosting images…I tried everything but MIME types configured correctly…

    Any help appreciated!

    cPanel.net Support Ticket Number: 18711
     
  2. goyo

    goyo Member

    Joined:
    Jun 17, 2003
    Messages:
    16
    Likes Received:
    0
    Trophy Points:
    1
    cPanel Access Level:
    Root Administrator
  3. nsr81

    nsr81 Member

    Joined:
    Mar 31, 2002
    Messages:
    18
    Likes Received:
    0
    Trophy Points:
    1
    Actually, all you need to do is to tell the mod_gzip to not to compress the graphics.

    Find the entries similar to the following in your /usr/local/apache/conf/httpd.conf file and add these underneath:

    mod_gzip_item_exclude file \.jpg$
    mod_gzip_item_exclude file \.jpeg$
    mod_gzip_item_exclude file \.gif$
    mod_gzip_item_exclude file \.png$

    Save the file and restart apache. You should be all set.

    cPanel.net Support Ticket Number:
     
  4. goyo

    goyo Member

    Joined:
    Jun 17, 2003
    Messages:
    16
    Likes Received:
    0
    Trophy Points:
    1
    cPanel Access Level:
    Root Administrator
    Thanks nsr81

    I already recompiled...but it's worth to know!

    cPanel.net Support Ticket Number:
     
  5. buccaneerob

    buccaneerob Active Member

    Joined:
    Feb 3, 2003
    Messages:
    27
    Likes Received:
    0
    Trophy Points:
    1
    It's a problem with the header formatting, IE doesn't recognize it. With mozilla it works fine.....I had the same problem on my server

    I just added the following line:
    mod_gzip_send_vary Yes

    Everything works fine now. I forget the specifics but it changes the way the header is sent based on the browser, etc.

    It still compresses the *.gif and *.jpg files too....

    cPanel.net Support Ticket Number:
     
  6. goodmove

    goodmove Well-Known Member

    Joined:
    May 12, 2003
    Messages:
    624
    Likes Received:
    0
    Trophy Points:
    16
    Did you put that line inside the gzip container in httpd.conf?
     
  7. buccaneerob

    buccaneerob Active Member

    Joined:
    Feb 3, 2003
    Messages:
    27
    Likes Received:
    0
    Trophy Points:
    1
    I added that entry in the gzip entry in the httpd.conf file

    cPanel.net Support Ticket Number:
     
  8. goodmove

    goodmove Well-Known Member

    Joined:
    May 12, 2003
    Messages:
    624
    Likes Received:
    0
    Trophy Points:
    16
    Considering most image files are already compressed, is there any gain to gzipping them?
     
  9. ljprevo

    ljprevo Well-Known Member

    Joined:
    Apr 15, 2003
    Messages:
    67
    Likes Received:
    0
    Trophy Points:
    6
    Sorry late on this, but I had a major issue with GZIP

    Forcing a reload on images and this same "save as a BMP"
    problem.

    I did this...

    Just add this to your gzip container in httpd.conf and your troubles will instantly terminate.


    After:
    <IfModule mod_gzip.c>

    Before:
    </IfModule>

    add:
    mod_gzip_send_vary Yes

    service httpd restart

    Wha lay, no more save as BMP and your load should fall.

    Confirmed this with Cpanel
     
Loading...

Share This Page