| 网站首页 | 业界新闻 | 小组 | 威客 | 人才 | 下载频道 | 博客 | 代码贴 | 在线编程 | 编程论坛
欢迎加入我们,一同切磋技术
用户名:   
 
密 码:  
共有 1848 人关注过本帖
标题:php7.2 fastcgi环境配置伪静态?
只看楼主 加入收藏
wuzhenqiang
Rank: 1
等 级:新手上路
帖 子:1
专家分:0
注 册:2019-8-3
收藏
 问题点数:0 回复次数:0 
php7.2 fastcgi环境配置伪静态?
新人求教各位大侠们,我用php7.2 + fastcgi环境配置了一个网站,开启伪静态的时候难倒了……
 我把web.config文件,上传到我的服务器根目录下,显示config文件第22行报错。
  代码如下:

<?xml version="1.0" encoding="UTF-8"?>
<configuration>
    <system.webServer>
        <rewrite>
            <rules>
                <rule name="yhxia_page" stopProcessing="true">
                    <match url="^(.*)$" />
                    <conditions logicalGrouping="MatchAll">
                        <add input="{HTTP_HOST}" pattern="^(.*)$" />
                        <add input="{REQUEST_FILENAME}" matchType="IsFile" negate="true" />
                        <add input="{REQUEST_FILENAME}" matchType="IsDirectory" negate="true" />
                    </conditions>
                    <action type="Rewrite" url="index.php/{R:1}" />
                </rule>
            </rules>
        </rewrite>
  <httpErrors errorMode="Detailed" />
  <asp scriptErrorSentToBrowser="true" />
  </system.webServer>
<system.web>
<customErrors mode="Off" />
<globalization requestEncoding="utf8" responseEncoding="utf8" fileEncoding="utf8" />
</system.web>
</configuration>

请各位大侠们帮忙指教
搜索更多相关主题的帖子: 环境 配置 伪静态 system input 
2019-08-03 16:12
快速回复:php7.2 fastcgi环境配置伪静态?
数据加载中...
 
   



关于我们 | 广告合作 | 编程中国 | 清除Cookies | TOP | 手机版

编程中国 版权所有,并保留所有权利。
Powered by Discuz, Processed in 0.017014 second(s), 9 queries.
Copyright©2004-2024, BCCN.NET, All Rights Reserved