IIS上的ASP应用程序

时间:2018-09-15 16:49:32

标签: php asp.net iis

我有一个IIS服务器和一个.NET 4.5.2应用程序。 将应用程序上载到服务器(包括由Visual Studio 2017生成的web.config)时,通常会破坏站点的“默认文档”功能。

例如:

https://example.com/php-project/?queryinfo不起作用,它加载了404。 https://example.com/php-project/index.php?querinfo有用。

我尝试在system.webserver部分的web.config中添加手动条目。不高兴。

通过IIS GUI查看的默认文档列表默认显示IIS附带的所有默认文档条目以及我的index.php条目。就像Visual Studio 2017生成的文件正在覆盖IIS设置一样。

想法?预先感谢。

0 个答案:

没有答案