• Our team is looking to connect with folks who use email services provided by Plesk, or a premium service. If you'd like to be part of the discovery process and share your experiences, we invite you to complete this short screening survey. If your responses match the persona we are looking for, you'll receive a link to schedule a call at your convenience. We look forward to hearing from you!
  • The BIND DNS server has already been deprecated and removed from Plesk for Windows.
    If a Plesk for Windows server is still using BIND, the upgrade to Plesk Obsidian 18.0.70 will be unavailable until the administrator switches the DNS server to Microsoft DNS. We strongly recommend transitioning to Microsoft DNS within the next 6 weeks, before the Plesk 18.0.70 release.
  • The Horde component is removed from Plesk Installer. We recommend switching to another webmail software supported in Plesk.

Mime Types

M

MaRiOs

Guest
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 ?
 
You sure you didnt upload the images in ASCII instead of binary before you go making any changes?
 
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...
 
I've just noticed that this happens only in firefox.

In internet explorer the pictures open fine.
 
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.
 
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!!!!
 
Back
Top