我有一个Web服务,但如何访问192.168.1.2.dcm? [英] I have a web service but how to acces 192.168.1.2.dcm ?

查看:100
本文介绍了我有一个Web服务,但如何访问192.168.1.2.dcm?的处理方法,对大家解决问题具有一定的参考价值,需要的朋友们下面随着小编来一起学习吧!

问题描述

localhost - / image /



[到家长目录]



5/4/2016 2:05 PM 263156 192.168.1.2.dcm

2/19/2016 10:52 PM 17072128 Confidence.exe

5/4/2016 2:12 PM 4750532 IM -0001-0001.dcm

5/4/2016 2:05 PM 1055640 IM-0001-0002.dcm

5/4/2016 2:06 PM 1055640 IM -0001-0003.dcm

2/18/2016 5:00 PM 16703488 Image.exe

2/18/2016 5:00 PM 24563996 Image.ilk

2/18/2016 5:00 PM 32943104 Image.pdb

2/19/2016 11:56 PM 16700416 RGBImage.exe

2 / 19/2016 11:57 PM 24564208 RGBImage.ilk

2/19/2016 11:57 PM 32934912 RGBImage.pdb





当我点击文件时,我想访问dicom文件(.dcm)。我看到了这条消息:

由于扩展配置,无法提供您请求的页面。如果页面是脚本,请添加处理程序。如果要下载文件,请添加MIME映射。

但是当我点击image.exe时。我做到了。



我尝试过的事情:



除了我没有请帮助我

localhost - /image/

[To Parent Directory]

5/4/2016 2:05 PM 263156 192.168.1.2.dcm
2/19/2016 10:52 PM 17072128 Confidence.exe
5/4/2016 2:12 PM 4750532 IM-0001-0001.dcm
5/4/2016 2:05 PM 1055640 IM-0001-0002.dcm
5/4/2016 2:06 PM 1055640 IM-0001-0003.dcm
2/18/2016 5:00 PM 16703488 Image.exe
2/18/2016 5:00 PM 24563996 Image.ilk
2/18/2016 5:00 PM 32943104 Image.pdb
2/19/2016 11:56 PM 16700416 RGBImage.exe
2/19/2016 11:57 PM 24564208 RGBImage.ilk
2/19/2016 11:57 PM 32934912 RGBImage.pdb


I want to acces dicom file(.dcm), when I was click the file. I saw this message:
The page you are requesting cannot be served because of the extension configuration. If the page is a script, add a handler. If the file should be downloaded, add a MIME map.
but when I was click image.exe. I did it.

What I have tried:

anything but I did't please help me

推荐答案

出于安全原因,IIS只会提供具有MIME映射中配置的扩展名的文件。您的服务器上当前未配置扩展名.dcm,因此您需要对其进行配置。



添加静态内容MIME映射< mimeMap> :官方Microsoft IIS站点 [ ^ ]



您应该将内容类型设置为: Application / DICOM
For security reasons, IIS will only serve files with extensions that are configured in the MIME mappings. The extension ".dcm" is not currently configured on your server, so you need to configure it.

Adding Static Content MIME Mappings <mimeMap> : The Official Microsoft IIS Site[^]

You should set the content type to be: Application/DICOM


这篇关于我有一个Web服务,但如何访问192.168.1.2.dcm?的文章就介绍到这了,希望我们推荐的答案对大家有所帮助,也希望大家多多支持IT屋!

查看全文
登录 关闭
扫码关注1秒登录
发送“验证码”获取 | 15天全站免登陆