97久久国产亚洲精品超碰热,成人又色又爽的免费网站,色偷偷女人的天堂a,男女高潮喷水在线观看,国内精品一线二线三线区别在哪里

Discuz! 官方交流社區(qū)

標(biāo)題: 誰幫我寫一條偽靜態(tài)規(guī)則 [打印本頁]

作者: zengrenrui    時間: 2022-1-6 22:40
標(biāo)題: 誰幫我寫一條偽靜態(tài)規(guī)則
目前是這樣的規(guī)則
  1. <rule name="t" stopProcessing="true">
  2.                     <match url="^(.*)$" ignoreCase="false" />
  3.                     <conditions logicalGrouping="MatchAll">
  4.                         <add input="{HTTP_HOST}" pattern="^t.jatxh.cn$" />
  5.                     </conditions>
  6.                     <action type="Redirect" url="http://www.jatxh.cn/{R:0}" redirectType="Permanent" />
  7.                 </rule>
復(fù)制代碼
這個只能實現(xiàn)t.jatxh.cn/index.php?mod=topic&code=2156跳轉(zhuǎn)到www.jatxh.cn/index.php?mod=topic&code=2156

我想實現(xiàn)把t.jatxh.cn/index.php?mod=topic&code=2156跳轉(zhuǎn)到www.jatxh.cn
不管t.jatxh.cn后面的目錄啥全部跳轉(zhuǎn)到www.jatxh.cn

作者: 羅永浩    時間: 2022-1-7 02:23
先在后臺開啟偽靜態(tài),然后將后臺給出的規(guī)則粘貼在偽靜態(tài)文件中,重啟apache就行了
作者: zengrenrui    時間: 2022-1-7 11:37
羅永浩 發(fā)表于 2022-1-7 02:23
先在后臺開啟偽靜態(tài),然后將后臺給出的規(guī)則粘貼在偽靜態(tài)文件中,重啟apache就行了 ...

我想實現(xiàn)把t.jatxh.cn/index.php?mod=topic&code=2156跳轉(zhuǎn)到www.jatxh.cn
不管t.jatxh.cn后面的目錄啥全部跳轉(zhuǎn)到www.jatxh.cn
作者: 老周部落    時間: 2022-1-7 11:58
  1. <action type="Redirect" url="http://www.jatxh.cn/" redirectType="Permanent" />
復(fù)制代碼

作者: zengrenrui    時間: 2022-1-7 12:03
老周部落 發(fā)表于 2022-1-7 11:58

沒用   剛試了下
作者: zengrenrui    時間: 2022-1-8 17:57
有沒有高手??
作者: dashen    時間: 2022-1-9 22:44
<action type="Redirect" url="http://www.jatxh.cn/" redirectType="Permanent" />

上邊說的這個是對的

  1. <rule name="t" stopProcessing="true">
  2.     <match url="^(.*)$" ignoreCase="false" />
  3.     <conditions logicalGrouping="MatchAll">
  4.         <add input="{HTTP_HOST}" pattern="^t.jatxh.cn$" />
  5.     </conditions>
  6.     <action type="Redirect" url="http://www.jatxh.cn/" redirectType="Permanent" />
  7. </rule>
復(fù)制代碼





歡迎光臨 Discuz! 官方交流社區(qū) (http://r615.cn/) Powered by Discuz! X5.0