1. Please take a little time for this simple survey! Thank you for participating!
    Dismiss Notice
  2. Dear Pleskians, please read this carefully! New attachments and other rules Thank you!
    Dismiss Notice
  3. Dear Pleskians, I really hope that you will share your opinion in this Special topic for chatter about Plesk in the Clouds. Thank you!
    Dismiss Notice

Mime Types

Discussion in 'Plesk for Linux - 8.x and Older' started by MaRiOs, Jul 14, 2005.

  1. MaRiOs

    MaRiOs Guest

    0
     
    I have a prob with a website i uploaded on plesk server.

    When I press to some link which uses java to pop up a bigger photograph,all I see is text characters..i think it may be the source of the jpeg files..so i think it may be mime error.

    I've looked into : /etc/httpd/conf/httpd.conf
    and I see this

    If your server contains mostly text or HTML documents, "text/plain" is
    # a good value. If most of your content is binary, such as applications
    # or images, you may want to use "application/octet-stream" instead to
    # keep browsers from trying to display binary files as though they are
    # text.
    #
    DefaultType text/plain


    So should I change it ? or is it dangerous to do changes in the conf file ?
     
  2. mikk

    mikk Basic Pleskian

    23
    73%
    Joined:
    Jan 29, 2005
    Messages:
    83
    Likes Received:
    0
    You sure you didnt upload the images in ASCII instead of binary before you go making any changes?
     
  3. MaRiOs

    MaRiOs Guest

    0
     
    Pretty sure...
    Cause if i use the link to the jpg file ti works fine.
    But I if i press to the link which uses javascript then they open as code...
     
  4. MaRiOs

    MaRiOs Guest

    0
     
    I've just noticed that this happens only in firefox.

    In internet explorer the pictures open fine.
     
  5. jamesyeeoc

    jamesyeeoc Guest

    0
     
    And you have checked the Firefox Tools, Options, WebFeatures and checkmarked the Load images, Java, Javascript options, right? I am assuming you have the latest Firefox 1.04?

    If you PM me a link, I can try it from my side, standard Firefox 1.04 (en-us) to see if it's something just with your Firefox install or not.
     
  6. MaRiOs

    MaRiOs Guest

    0
     
    Problem solved.....

    The problem occured in Firefox and Mozilla while i was watching the website using the Preview option of plesk,
    and with the preview the url uses ssl (https)
    so if I run the site with normal http:// the pictures work pefect both in mozilla and iexplorer....

    Crazy stuff!!!!
     
  7. jamesyeeoc

    jamesyeeoc Guest

    0
     
    In a crazy world....
     
Loading...