当前位置:论坛首页 > Windows面板 > 求助

【已回复】windows api伪静态处理故障

发表在 Windows面板2020-8-5 18:13 [复制链接] 3 4694

你好 ,
windows环境下  使用api操作伪静态 保存失败。    根据web 查看的接口操作   使用  自带的 bt面板可以保存。
我们自己调试对接api接口 就一直保存失败。  
使用的接口参数是 SetSiteRewrite
使用道具 举报 只看该作者 回复
发表于 2020-8-6 09:06:13 | 显示全部楼层
请提供详细错误日志
使用道具 举报 回复 支持 反对
发表于 2020-8-6 11:10:28 | 显示全部楼层
沐沐 发表于 2020-8-6 09:06
请提供详细错误日志

没有报错日志。 就是根据官网的接口操作的api
面板可以正常操作  我们使用api来进行操作就是无法报错。
使用道具 举报 回复 支持 反对
发表于 2020-8-13 17:08:00 | 显示全部楼层
沐沐 发表于 2020-8-6 09:06
请提供详细错误日志

这个是 发送的数据  
一直提交
["siteName"]=>
  string(20) "test695.suhafe01.top"
  ["data"]=>
  string(859) "    <rule name="Imported Rule 1">
     <match url="^(post[-]record[-]sort[-]author[-]page)-([0-9]+).html$" ignoreCase="false">
     <conditions logicalGrouping="MatchAll">
      <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?{R:1}={R:2}" appendQueryString="false">
    </rule>
    <rule name="Imported Rule 2">
     <match url="^tag-(.+).html$" ignoreCase="false">
     <action type="Rewrite" url="index.php?tag={R:1}" appendQueryString="false">
    </rule>
    <rule name="Imported Rule 3">
     <match url="^t/page-([0-9]+).html$" ignoreCase="false">
     <action type="Rewrite" url="t/index.php?page={R:1}" appendQueryString="false">
    </rule>"
另外重定向配置文件也保存失败。
QQ图片20200813170644.png
使用道具 举报 回复 支持 反对
您需要登录后才可以回帖 登录 | 立即注册

本版积分规则

企业版年付运维跟进群

普通问题处理

论坛响应时间:72小时

问题处理方式:排队(仅解答)

工作时间:白班:9:00 - 18:00

紧急问题处理

论坛响应时间:10分钟

问题处理方式:1对1处理(优先)

工作时间:白班:9:00 - 18:00

工作时间:晚班:18:00 - 24:00

立即付费处理

工作时间:09:00至24:00

快速回复 返回顶部 返回列表