开发框架 版主:迅睿框架研发组
服务器只支持web.config伪静态规则
类型:迅睿CMS 更新时间:2021-10-26 09:04:02 iis伪静态 伪静态规则

服务器只支持web.config伪静态规则 不支持Nginx  该怎么写伪静态规则啊?

回帖
  • 刘云
    #1楼    刘云
    2021-10-25 11:07:57
    Chrome 0
    iis的需要用apache的伪静态转换
  • 顶牛网络
    #2楼    顶牛网络
    2021-10-25 23:27:15
    Chrome 0
    后台,设置,seo设置,URL规则,伪静态,把方框里面的内容,复制到空间伪静态规则里面就可以了
  • diskson
    #3楼    diskson
    2021-10-26 09:04:02
    Chrome 0
    <rewrite>
        <rules>
            <rule name="xunruicms IIS 伪静态" stopProcessing="true">
                <match url=".(js|ico|gif|jpe?g|bmp|png|css)$" negate="true" />
                <conditions>
                    <add input="{REQUEST_FILENAME}" matchType="IsFile" ignoreCase="false" negate="true" />
                    <add input="{REQUEST_FILENAME}" matchType="IsDirectory" ignoreCase="false" negate="true" />
                </conditions>
                <action type="Rewrite" url="/index.php" />
            </rule>
        </rules>
    </rewrite>