此项目的默认web访问模式设置为文件共享,但无法从路径“D:\inetpub\samp”打开“http://localhost/samp”处的项目文件夹,返回的错误是:
无法打开Web项目“samp”。文件路径“D:\inetpub\samp”与URL“http://localhost/samp”不符。这两者需要映射到不同的服务器位置。HTTP错误404:Not Found
A:1。打开IIS管理器。
2。右键点击"Default Web Site"并选择Properties.
3。 点击"Http Header".
4。 点击"MIME Types".
5。 点击“New”。
6。 在Extension中,输入".tmp". (不需要引号)
7。 在MIME Type中,输入 "Temp". (不需要引号)
相关文章:
-
2021-12-06
-
2021-10-01
-
2021-06-21
-
2022-01-20
-
2021-07-07
-
2021-11-16
-
2021-06-15
猜你喜欢
-
2021-10-14
-
2022-12-23
-
2022-12-23
-
2021-12-13
-
2021-06-19
-
2021-11-29
-
2022-12-23
相关资源
-
下载
2021-06-06
-
下载
2023-01-10
-
下载
2023-02-23