اضافه نمودن Mimetype در Plesk

Mime  یک سیستم شناسایی فایل می باشد. جهت اضافه نمودن Mime type در کنترل پنل پلسک بصورت زیر اقدام نمائید:

پس از لاگین به کنترل پنل گزینهiis settings را انتخاب نمائید.

در صفحه جدید در کادر مقابل قسمتmime types شما لیستی از انواعMime type هایی که بصورت پیش فرض در هاست فعال می باشد را مشاهده می کنید و همچنین می توانید پسوند فایلی که در لیست وجود ندارد را به آن لیست اضافه نمائید. از طریق این لیست می توانید مطمئن شوید mime type مورد نظر شما در لیست mime type های پیش فرض iis  وجود ندارد.


بعنوان مثال در صورتیکه می خواهید در سایتتان فایل هایی با پسوند mp4  قابل دسترس باشند، پسوند mp4 را بصورت زیر به این لیست اضافه می کنید:

video/mp4  .mp4

و سپس تغییرات را از طریق دکمه ok در پائین صفحه ذخیره می نمائید.

در مثال بالا .mp4 پسوند فایل می باشد و video/mp4   نیز  mimetype مشخص شده برای این فرمت است، در لیست زیر فرمت های مختلف بهمراه mimetype مربوط به آن تعریف شده است:

 

 

        {".323", "text/h323"},

        {".3g2", "video/3gpp2"},

        {".3gp", "video/3gpp"},

        {".3gp2", "video/3gpp2"},

        {".3gpp", "video/3gpp"},

        {".7z", "application/x-7z-compressed"},

        {".aa", "audio/audible"},

        {".AAC", "audio/aac"},

        {".aaf", "application/octet-stream"},

        {".aax", "audio/vnd.audible.aax"},

        {".ac3", "audio/ac3"},

        {".aca", "application/octet-stream"},

        {".accda", "application/msaccess.addin"},

        {".accdb", "application/msaccess"},

        {".accdc", "application/msaccess.cab"},

        {".accde", "application/msaccess"},

        {".accdr", "application/msaccess.runtime"},

        {".accdt", "application/msaccess"},

        {".accdw", "application/msaccess.webapplication"},

        {".accft", "application/msaccess.ftemplate"},

        {".acx", "application/internet-property-stream"},

        {".AddIn", "text/xml"},

        {".ade", "application/msaccess"},

        {".adobebridge", "application/x-bridge-url"},

        {".adp", "application/msaccess"},

        {".ADT", "audio/vnd.dlna.adts"},

        {".ADTS", "audio/aac"},

        {".afm", "application/octet-stream"},

        {".ai", "application/postscript"},

        {".aif", "audio/x-aiff"},

        {".aifc", "audio/aiff"},

        {".aiff", "audio/aiff"},

        {".air", "application/vnd.adobe.air-application-installer-      package+zip"},

        {".amc", "application/x-mpeg"},

        {".application", "application/x-ms-application"},

        {".art", "image/x-jg"},

        {".asa", "application/xml"},

        {".asax", "application/xml"},

        {".ascx", "application/xml"},

        {".asd", "application/octet-stream"},

        {".asf", "video/x-ms-asf"},

        {".ashx", "application/xml"},

        {".asi", "application/octet-stream"},

        {".asm", "text/plain"},

        {".asmx", "application/xml"},

        {".aspx", "application/xml"},

        {".asr", "video/x-ms-asf"},

        {".asx", "video/x-ms-asf"},

        {".atom", "application/atom+xml"},

        {".au", "audio/basic"},

        {".avi", "video/x-msvideo"},

        {".axs", "application/olescript"},

        {".bas", "text/plain"},

        {".bcpio", "application/x-bcpio"},

        {".bin", "application/octet-stream"},

        {".bmp", "image/bmp"},

        {".c", "text/plain"},

        {".cab", "application/octet-stream"},

        {".caf", "audio/x-caf"},

        {".calx", "application/vnd.ms-office.calx"},

        {".cat", "application/vnd.ms-pki.seccat"},

        {".cc", "text/plain"},

        {".cd", "text/plain"},

        {".cdda", "audio/aiff"},

        {".cdf", "application/x-cdf"},

        {".cer", "application/x-x509-ca-cert"},

        {".chm", "application/octet-stream"},

        {".class", "application/x-java-applet"},

        {".clp", "application/x-msclip"},

        {".cmx", "image/x-cmx"},

        {".cnf", "text/plain"},

        {".cod", "image/cis-cod"},

        {".config", "application/xml"},

        {".contact", "text/x-ms-contact"},

        {".coverage", "application/xml"},

        {".cpio", "application/x-cpio"},

        {".cpp", "text/plain"},

        {".crd", "application/x-mscardfile"},

        {".crl", "application/pkix-crl"},

        {".crt", "application/x-x509-ca-cert"},

        {".cs", "text/plain"},

        {".csdproj", "text/plain"},

        {".csh", "application/x-csh"},

        {".csproj", "text/plain"},

        {".css", "text/css"},

        {".csv", "text/csv"},

        {".cur", "application/octet-stream"},

        {".cxx", "text/plain"},

        {".dat", "application/octet-stream"},

        {".datasource", "application/xml"},

        {".dbproj", "text/plain"},

        {".dcr", "application/x-director"},

        {".def", "text/plain"},

        {".deploy", "application/octet-stream"},

        {".der", "application/x-x509-ca-cert"},

        {".dgml", "application/xml"},

        {".dib", "image/bmp"},

        {".dif", "video/x-dv"},

        {".dir", "application/x-director"},

        {".disco", "text/xml"},

        {".dll", "application/x-msdownload"},

        {".dll.config", "text/xml"},

        {".dlm", "text/dlm"},

        {".doc", "application/msword"},

        {".docm", "application/vnd.ms-word.document.macroEnabled.12"},

        {".docx", "application/vnd.openxmlformats-officedocument.wordprocessingml.document"},

        {".dot", "application/msword"},

        {".dotm", "application/vnd.ms-word.template.macroEnabled.12"},

        {".dotx", "application/vnd.openxmlformats-officedocument.wordprocessingml.template"},

        {".dsp", "application/octet-stream"},

        {".dsw", "text/plain"},

        {".dtd", "text/xml"},

        {".dtsConfig", "text/xml"},

        {".dv", "video/x-dv"},

        {".dvi", "application/x-dvi"},

        {".dwf", "drawing/x-dwf"},

        {".dwp", "application/octet-stream"},

        {".dxr", "application/x-director"},

        {".eml", "message/rfc822"},

        {".emz", "application/octet-stream"},

        {".eot", "application/octet-stream"},

        {".eps", "application/postscript"},

        {".etl", "application/etl"},

        {".etx", "text/x-setext"},

        {".evy", "application/envoy"},

        {".exe", "application/octet-stream"},

        {".exe.config", "text/xml"},

        {".fdf", "application/vnd.fdf"},

        {".fif", "application/fractals"},

        {".filters", "Application/xml"},

        {".fla", "application/octet-stream"},

        {".flr", "x-world/x-vrml"},

        {".flv", "video/x-flv"},

        {".fsscript", "application/fsharp-script"},

        {".fsx", "application/fsharp-script"},

        {".generictest", "application/xml"},

        {".gif", "image/gif"},

        {".group", "text/x-ms-group"},

        {".gsm", "audio/x-gsm"},

        {".gtar", "application/x-gtar"},

        {".gz", "application/x-gzip"},

        {".h", "text/plain"},

        {".hdf", "application/x-hdf"},

        {".hdml", "text/x-hdml"},

        {".hhc", "application/x-oleobject"},

        {".hhk", "application/octet-stream"},

        {".hhp", "application/octet-stream"},

        {".hlp", "application/winhlp"},

        {".hpp", "text/plain"},

        {".hqx", "application/mac-binhex40"},

        {".hta", "application/hta"},

        {".htc", "text/x-component"},

        {".htm", "text/html"},

        {".html", "text/html"},

        {".htt", "text/webviewhtml"},

        {".hxa", "application/xml"},

        {".hxc", "application/xml"},

        {".hxd", "application/octet-stream"},

        {".hxe", "application/xml"},

        {".hxf", "application/xml"},

        {".hxh", "application/octet-stream"},

        {".hxi", "application/octet-stream"},

        {".hxk", "application/xml"},

        {".hxq", "application/octet-stream"},

        {".hxr", "application/octet-stream"},

        {".hxs", "application/octet-stream"},

        {".hxt", "text/html"},

        {".hxv", "application/xml"},

        {".hxw", "application/octet-stream"},

        {".hxx", "text/plain"},

        {".i", "text/plain"},

        {".ico", "image/x-icon"},

        {".ics", "application/octet-stream"},

        {".idl", "text/plain"},

        {".ief", "image/ief"},

        {".iii", "application/x-iphone"},

        {".inc", "text/plain"},

        {".inf", "application/octet-stream"},

        {".inl", "text/plain"},

        {".ins", "application/x-internet-signup"},

        {".ipa", "application/x-itunes-ipa"},

        {".ipg", "application/x-itunes-ipg"},

        {".ipproj", "text/plain"},

        {".ipsw", "application/x-itunes-ipsw"},

        {".iqy", "text/x-ms-iqy"},

        {".isp", "application/x-internet-signup"},

        {".ite", "application/x-itunes-ite"},

        {".itlp", "application/x-itunes-itlp"},

        {".itms", "application/x-itunes-itms"},

        {".itpc", "application/x-itunes-itpc"},

        {".IVF", "video/x-ivf"},

        {".jar", "application/java-archive"},

        {".java", "application/octet-stream"},

        {".jck", "application/liquidmotion"},

        {".jcz", "application/liquidmotion"},

        {".jfif", "image/pjpeg"},

        {".jnlp", "application/x-java-jnlp-file"},

        {".jpb", "application/octet-stream"},

        {".jpe", "image/jpeg"},

        {".jpeg", "image/jpeg"},

        {".jpg", "image/jpeg"},

        {".js", "application/x-javascript"},

        {".jsx", "text/jscript"},

        {".jsxbin", "text/plain"},

        {".latex", "application/x-latex"},

        {".library-ms", "application/windows-library+xml"},

        {".lit", "application/x-ms-reader"},

        {".loadtest", "application/xml"},

        {".lpk", "application/octet-stream"},

        {".lsf", "video/x-la-asf"},

        {".lst", "text/plain"},

        {".lsx", "video/x-la-asf"},

        {".lzh", "application/octet-stream"},

        {".m13", "application/x-msmediaview"},

        {".m14", "application/x-msmediaview"},

        {".m1v", "video/mpeg"},

        {".m2t", "video/vnd.dlna.mpeg-tts"},

        {".m2ts", "video/vnd.dlna.mpeg-tts"},

        {".m2v", "video/mpeg"},

        {".m3u", "audio/x-mpegurl"},

        {".m3u8", "audio/x-mpegurl"},

        {".m4a", "audio/m4a"},

        {".m4b", "audio/m4b"},

        {".m4p", "audio/m4p"},

        {".m4r", "audio/x-m4r"},

        {".m4v", "video/x-m4v"},

        {".mac", "image/x-macpaint"},

        {".mak", "text/plain"},

        {".man", "application/x-troff-man"},

        {".manifest", "application/x-ms-manifest"},

        {".map", "text/plain"},

        {".master", "application/xml"},

        {".mda", "application/msaccess"},

        {".mdb", "application/x-msaccess"},

        {".mde", "application/msaccess"},

        {".mdp", "application/octet-stream"},

        {".me", "application/x-troff-me"},

        {".mfp", "application/x-shockwave-flash"},

        {".mht", "message/rfc822"},

        {".mhtml", "message/rfc822"},

        {".mid", "audio/mid"},

        {".midi", "audio/mid"},

        {".mix", "application/octet-stream"},

        {".mk", "text/plain"},

        {".mmf", "application/x-smaf"},

        {".mno", "text/xml"},

        {".mny", "application/x-msmoney"},

        {".mod", "video/mpeg"},

        {".mov", "video/quicktime"},

        {".movie", "video/x-sgi-movie"},

        {".mp2", "video/mpeg"},

        {".mp2v", "video/mpeg"},

        {".mp3", "audio/mpeg"},

        {".mp4", "video/mp4"},

        {".mp4v", "video/mp4"},

        {".mpa", "video/mpeg"},

        {".mpe", "video/mpeg"},

        {".mpeg", "video/mpeg"},

        {".mpf", "application/vnd.ms-mediapackage"},

        {".mpg", "video/mpeg"},

        {".mpp", "application/vnd.ms-project"},

        {".mpv2", "video/mpeg"},

        {".mqv", "video/quicktime"},

        {".ms", "application/x-troff-ms"},

        {".msi", "application/octet-stream"},

        {".mso", "application/octet-stream"},

        {".mts", "video/vnd.dlna.mpeg-tts"},

        {".mtx", "application/xml"},

        {".mvb", "application/x-msmediaview"},

        {".mvc", "application/x-miva-compiled"},

        {".mxp", "application/x-mmxp"},

        {".nc", "application/x-netcdf"},

        {".nsc", "video/x-ms-asf"},

        {".nws", "message/rfc822"},

        {".ocx", "application/octet-stream"},

        {".oda", "application/oda"},

        {".odc", "text/x-ms-odc"},

        {".odh", "text/plain"},

        {".odl", "text/plain"},

        {".odp", "application/vnd.oasis.opendocument.presentation"},

        {".ods", "application/oleobject"},

        {".odt", "application/vnd.oasis.opendocument.text"},

        {".one", "application/onenote"},

        {".onea", "application/onenote"},

        {".onepkg", "application/onenote"},

        {".onetmp", "application/onenote"},

        {".onetoc", "application/onenote"},

        {".onetoc2", "application/onenote"},

        {".orderedtest", "application/xml"},

        {".osdx", "application/opensearchdescription+xml"},

        {".p10", "application/pkcs10"},

        {".p12", "application/x-pkcs12"},

        {".p7b", "application/x-pkcs7-certificates"},

        {".p7c", "application/pkcs7-mime"},

        {".p7m", "application/pkcs7-mime"},

        {".p7r", "application/x-pkcs7-certreqresp"},

        {".p7s", "application/pkcs7-signature"},

  • 0 کاربر این را مفید یافتند
  • آیا این پاسخ به شما کمک کرد؟

    مقالات مربوطه

    مشکل ساسپند کردن اکانت در پلسک پرینت این مقاله

    درصورتیکه هنگام suspend کردن اکانت در پلسک با خطای زیر  مواجه می شوید: Internal error...

    فعالسازی DKIM در پلسک

    DKIM چیست؟ DKIM  چه کاربردی دارد؟ DKIM یک سیستم تصدیق هویت ایمیل است که جهت شناسایی حقه های پست...

    محدودیت ارسال ایمیل در پلسک

    تغییر محدودیت ارسال ایمیل برای کلیه اکانت ها بدین منظور وارد کنترل پنل پلسک شوید. گزینه Tools...

    عدم بکاپ گیری پلسک

    در صورتیکه بخش backup manager  پلسک باز نمی شود وبا خطای زیر مواجه می شوید، در این آموزش نحو رفع...