当前位置: 首页 > 知识 >正文

iis伪静态设置(iis7伪静态文件怎么使用)

iis7中的这个问题是边肖在测试windows 2008 iis7 php环境时遇到的问题。找了很多教程都没有解决。让我们来看看。

有两种解决方案,一种是在system32中修改applicationhost.config,另一种是在web.config中添加几行代码,如下。

1.修改网站根目录下的web.config。

代码效果如下:

代码如下所示

configuration

system.webServer

security

requestFiltering allowDoubleEscaping='true'/requestFiltering

/security

/system.webServer

/configuration

2. Modifying the application host. Configuration

In the application host. Configuration file, navigate to the request filtering node under configuration /system. web server/security/request filtering/in the file.

代码如下所示

configuration

system.webServer

security

requestFiltering allowDoubleEscaping='true'/requestFiltering

/security

/system.webServer

/configuration

以上两种方法第一种是当前站点,第二种是所有站点。边肖建议使用第一种方法,这样全一就安全了。

相关文章:
  • 6月27日基金净值:易方达港股通成长混合A最新净值0.7964,涨0.57%
  • 6月13日基金净值:信诚周期轮动混合(LOF)A最新净值5.4118,涨1.48%
  • 出手阔绰 15只公募REITs密集分红
  • 5月18日基金净值:广发创新升级混合最新净值2.3293,跌1.33%
  • 5月26日基金净值:华夏中证500ETF最新净值3.2254,涨0.78%
  • 6月2日基金净值:嘉实多元债券A最新净值1.257,涨0.64%
  • 抓紧办理!个税年度汇算6月30日结束,如何计算应缴纳钱数?2023年新增规定中,哪些税款可以免缴?
  • 广发中证全指原材料ETF净值下跌2.04% 请保持关注
  • 5月15日基金净值:交银内需增长一年持有混合最新净值0.873,涨1.31%
  • 4月27日基金净值:汇添富MSCI中国A50互联互通ETF最新净值0.7947,涨0.9%