联系官方销售客服

1835022288

028-61286886

开发框架 版主:迅睿框架研发组
iis 服务器上手机端的伪静态怎么配置啊?
类型:迅睿CMS 更新时间:2021-11-20 17:00:17

请问:iis 服务器上手机端的伪静态怎么配置啊?手机端采用的是目录浏览模式

回帖
  • diskson
    #1楼    diskson
    2021-11-20 16:20:58
    Chrome 0
    <?xml version="1.0" ?><rules> <rule name="xunruicms mobile" stopProcessing="true"> <match url="^mobile/(.*)$" ignoreCase="false"/> <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="/mobile/index.php"/> </rule> <rule name="xunruicms PC" 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>
    满意答案
  • gongying1
    #2楼    gongying1
    2021-11-20 17:00:17
    Chrome 0
    @diskson:非常感谢