在web.config中添加如下配置可以实现,一般不推荐使用。

<?xml version="1.0" encoding="UTF-8"?>
<configuration>
    <system.webServer>
        <directoryBrowse enabled="true" />
        <security>
            <requestFiltering>
                <hiddenSegments>
                    <remove segment="bin" />
                </hiddenSegments>
            </requestFiltering>
        </security>
    </system.webServer>
</configuration>

相关文章:

  • 2022-12-23
  • 2021-11-19
  • 2022-12-23
  • 2021-12-26
  • 2022-12-23
  • 2021-08-02
  • 2021-12-26
猜你喜欢
  • 2022-12-23
  • 2021-06-07
  • 2022-12-23
  • 2022-12-23
  • 2021-07-14
  • 2022-12-23
  • 2021-11-22
相关资源
相似解决方案